34 lines
1.1 KiB
JSON
34 lines
1.1 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "(gdb) Debug",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"cwd": "${workspaceFolder}/bin",
|
|
"program": "${workspaceFolder}/bin/cbuild",
|
|
"windows": {
|
|
"program": "${workspaceFolder}\\bin\\cbuild.exe",
|
|
},
|
|
"args": [ "-p", "../example.proj.dtsod", "exe"],
|
|
"preLaunchTask": "build",
|
|
"stopAtEntry": false,
|
|
"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
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|