added gdb to trask

main
Øyvind Skaaden 2022-04-03 23:41:54 +02:00
parent 56119f44f4
commit 2a9aa13058
2 changed files with 24 additions and 0 deletions

View File

@ -1,6 +1,30 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch task",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceRoot}/tasks/10_green_bottles",
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "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
}
]
},
{
// for Linux
"name": "(gdb) Launch",

Binary file not shown.