better gdb launch task
This commit is contained in:
parent
67680b8157
commit
00c7987fa2
27
.vscode/launch.json
vendored
27
.vscode/launch.json
vendored
@ -5,12 +5,35 @@
|
|||||||
"name": "(gdb) Debug",
|
"name": "(gdb) Debug",
|
||||||
"type": "cppdbg",
|
"type": "cppdbg",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
|
"program": "${workspaceFolder}/bin/kerep.com",
|
||||||
|
"preLaunchTask": "build_exec_dbg",
|
||||||
|
"stopAtEntry": false,
|
||||||
|
"cwd": "${fileDirname}",
|
||||||
|
"externalConsole": false,
|
||||||
|
"MIMode": "gdb",
|
||||||
|
"miDebuggerPath": "gdb",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"description": "Enable pretty-printing for gdb",
|
||||||
|
"text": "-enable-pretty-printing",
|
||||||
|
"ignoreFailures": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Set Disassembly Flavor to Intel",
|
||||||
|
"text": "-gdb-set disassembly-flavor intel",
|
||||||
|
"ignoreFailures": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "(gdb-pipe) Debug",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
"preLaunchTask": "build_exec_dbg",
|
"preLaunchTask": "build_exec_dbg",
|
||||||
"program": "${workspaceFolder}/bin/kerep.com",
|
"program": "${workspaceFolder}/bin/kerep.com",
|
||||||
"stopAtEntry": false,
|
"stopAtEntry": false,
|
||||||
"cwd": "${workspaceFolder}",
|
"cwd": "${workspaceFolder}",
|
||||||
"externalConsole": true,
|
"externalConsole": false,
|
||||||
"internalConsoleOptions": "openOnSessionStart",
|
|
||||||
"miDebuggerPath": "/usr/bin/gdb",
|
"miDebuggerPath": "/usr/bin/gdb",
|
||||||
"MIMode": "gdb",
|
"MIMode": "gdb",
|
||||||
"pipeTransport": {
|
"pipeTransport": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user