Added separate linux core dump debug target to vscode config.

This commit is contained in:
mjbudd77 2021-12-29 16:32:34 -05:00
parent ec6cfb1e40
commit d3a167ee04
1 changed files with 20 additions and 1 deletions

21
.vscode/launch.json vendored
View File

@ -12,6 +12,25 @@
"args": [], "args": [],
"stopAtEntry": false, "stopAtEntry": false,
"cwd": "${workspaceFolder}", "cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
{
"name": "(gdb) Core Dump (Linux)",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/src/fceux",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"coreDumpPath": "${workspaceFolder}/build/core-fceux", "coreDumpPath": "${workspaceFolder}/build/core-fceux",
"environment": [], "environment": [],
"externalConsole": false, "externalConsole": false,
@ -42,7 +61,7 @@
"program": "${workspaceFolder}/build/src/fceux.app/Contents/MacOS/fceux", "program": "${workspaceFolder}/build/src/fceux.app/Contents/MacOS/fceux",
"args": [], "args": [],
"stopAtEntry": false, "stopAtEntry": false,
"cwd": "${workspaceFolder}" "cwd": "${workspaceFolder}",
"environment": [], "environment": [],
"externalConsole": false, "externalConsole": false,
"MIMode": "lldb" "MIMode": "lldb"