Skip to content

Instantly share code, notes, and snippets.

@kienvo
Created March 30, 2022 00:17
Show Gist options
  • Save kienvo/25e604440ffa5f08f75d0c0ae039de87 to your computer and use it in GitHub Desktop.
Save kienvo/25e604440ffa5f08f75d0c0ae039de87 to your computer and use it in GitHub Desktop.
vscode gdb local debugging
{
// 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) Launch",
"type": "cppdbg",
"preLaunchTask": "${defaultBuildTask}",
"request": "launch",
"program": "${workspaceFolder}/p10-frame-maker.elf",
// "args": ["gen"],
"args": [""],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment