fixed visual studio debug

This commit is contained in:
Kjell Hedstrom 2024-02-19 11:49:34 -07:00
parent 326fef95ac
commit ff8e284326

22
.vscode/launch.json vendored
View File

@ -6,26 +6,18 @@
// mkdir build; cd build // mkdir build; cd build
// "cmake -DCMAKE_BUILD_TYPE=Debug .. " if you want to be able to debug it. // "cmake -DCMAKE_BUILD_TYPE=Debug .. " if you want to be able to debug it.
// don't forget to inspect the cmake output for more configuration options // don't forget to inspect the cmake output for more configuration options
"version": "0.2.0",
"configurations": [ "configurations": [
{ {
"name": "(gdb) Start", "name": "(lldb) Launch",
"type": "cppdbg", "type": "cppdbg",
"request": "launch", "request": "launch",
"program": "${workspaceFolder}/build/test_signal", "program": "${workspaceFolder}/build/test_signal",
"MIMode": "gdb", "args": [],
"cwd": "${workspaceFolder}/build""setupCommands": [ "stopAtEntry": false,
{ "cwd": "${fileDirname}",
"description": "Enable pretty-printing for gdb", "environment": [],
"text": "-enable-pretty-printing", "externalConsole": false,
"ignoreFailures": true "MIMode": "lldb"
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
]
} }
] ]
} }