Skip to content

Commit

Permalink
Merge pull request #482 from naemon/gdb-setup
Browse files Browse the repository at this point in the history
Update launch.json with an example how to pass options to gdb
  • Loading branch information
nook24 authored Sep 30, 2024
2 parents 1546298 + f9d729c commit 822aac6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@

"launchCompleteCommand": "exec-run",
"MIMode": "gdb",

// Especially when working with the Query Handler "Broken Pipe" issues may occur. In this case it is useful to ignore SIGPIPE.
//"setupCommands": [
// {
// "description": "Ignore SIGPIPE",
// "text": "handle SIGPIPE nostop noprint pass"
// }
//],

"miDebuggerPath": "/usr/bin/gdb",
}
]
Expand Down

0 comments on commit 822aac6

Please sign in to comment.