Closed
Description
I'm trying to do C code development using gcc and make and using WebFreak001's gdb debugger extension. I added "preLaunchTask": "make"
to launch.json and
{
"version": "0.1.0",
"command": "make",
"isShellCommand": false,
// Show the output window only if unrecognized errors occur.
"showOutput": "always", //"silent",
// use the standard tsc problem matcher to find compile problems
// in the output.
"problemMatcher": "$tsc"
}
in tasks.json and now make runs each time I click start, which is pretty good. But,
- If there are compile errors (resulting in make returning an error value), Code doesn't stop. It tries to run the program anyway.
- The make output window appears momentarily but is replaced with the debug console (which BTW displays the cryptic message
undefined=thread-group-added,id="i1"
). I'd like the output window to remain visible if there are make errors. - F8, Ctrl-Shift-M etc., don't work to let me visit the errors in my source code. What does it take to make that work?
Metadata
Metadata
Assignees
Labels
No labels