Created
June 22, 2023 09:14
-
-
Save AchmadFathoni/eeb5639456086edaab114b8d557638b3 to your computer and use it in GitHub Desktop.
VImspector config example for CPP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"configurations": { | |
"test": { | |
"adapter": "vscode-cpptools", | |
"configuration": { | |
"request": "launch", | |
"program": "${workspaceRoot}/build/hello_world", | |
"setupCommands": [{ | |
"description": "Enable pretty-printing for gdb", | |
"text": "-enable-pretty-printing", | |
"ignoreFailures": true | |
},{ | |
"description": "Enbale debug info", | |
"text": " -gdb-set debuginfod enabled on" | |
}], | |
"breakpoints": { | |
"exception": { | |
"all": "Y" | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
setupCommands
'stext
" are GDB/MI command, Such as Enable pretty printing and Enable debug info download using -gdb-set. Breakpoints at exception can be configured as this manual stated.