Output Not Appearing in Debug Console or Terminal #445
                  
                    
                      karthick-govindaraj
                    
                  
                
                  started this conversation in
                General
              
            Replies: 1 comment 2 replies
-
        {
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Debug C Program",
      "type": "gdb",
      "request": "launch",
      "target": "${workspaceFolder}/hello",
      "cwd": "${workspaceFolder}",
      "preLaunchTask": "build hello.c",
      "stopAtEntry": true,
      "terminal": ""
    }
  ]
}Try adding   | 
  
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I have multiple print statements in my C code, but the output does not appear in the debug console or terminal when breakpoints are hit. I've attached my launch.json configuration below. Can someone suggest how to ensure that print statements are logged correctly when debugging?
Beta Was this translation helpful? Give feedback.
All reactions