Last active
January 25, 2022 13:52
-
-
Save paroj/dc8e5e135dafb2b4059d45fa30ccae59 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
{ | |
// launch python through GDB to break in CPP code | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "GDB Python: Current File", | |
"type": "cppdbg", | |
"request": "launch", | |
"program": "/usr/bin/python", | |
"args": [ | |
"${file}" | |
], | |
"cwd": "${fileDirname}", | |
"stopAtEntry": false, | |
"environment": [], | |
"externalConsole": false, | |
"MIMode": "gdb", | |
"setupCommands": [ | |
{ | |
"description": "Enable pretty-printing for gdb", | |
"text": "-enable-pretty-printing", | |
"ignoreFailures": true | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment