Код: Выделить всё
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Attach",
"type": "cppdbg",
"request": "attach",
"program": "C:/Users/dylan/CS395/isolation-vahvaselkae_warcholik/agents/dwayne_the_block_johnson.cpp",
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/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
}
]
}
]
}
< /code>
Я на самом деле пытаюсь запустить отладку в файле Dwayne_the_block_johnson.cpp. Кроме того, в WSL команда, которая gdb Подробнее здесь: https://stackoverflow.com/questions/795 ... is-invalid