Skip to content

Commit

Permalink
Fix gdb pretty printing
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleyse committed Oct 20, 2023
1 parent 5ec6e4b commit df3af1f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .vscode/launch.linux.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
"exceptionList": "libcesium.omniverse.plugin.so;libcesium.omniverse.cpp.tests.plugin.so"
},
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "python import sys;sys.path.insert(0, '/usr/share/gcc/python');from libstdcxx.v6.printers import register_libstdcxx_printers;register_libstdcxx_printers(None)",
"ignoreFailures": false
},
{
"text": "-enable-pretty-printing",
"ignoreFailures": true
Expand All @@ -48,6 +53,11 @@
"request": "launch",
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "python import sys;sys.path.insert(0, '/usr/share/gcc/python');from libstdcxx.v6.printers import register_libstdcxx_printers;register_libstdcxx_printers(None)",
"ignoreFailures": false
},
{
"text": "-enable-pretty-printing",
"ignoreFailures": true
Expand Down Expand Up @@ -78,6 +88,11 @@
"exceptionList": "libcesium.omniverse.plugin.so;libcesium.omniverse.cpp.tests.plugin.so"
},
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "python import sys;sys.path.insert(0, '/usr/share/gcc/python');from libstdcxx.v6.printers import register_libstdcxx_printers;register_libstdcxx_printers(None)",
"ignoreFailures": false
},
{
"text": "-enable-pretty-printing",
"ignoreFailures": true
Expand Down Expand Up @@ -111,6 +126,11 @@
"request": "launch",
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "python import sys;sys.path.insert(0, '/usr/share/gcc/python');from libstdcxx.v6.printers import register_libstdcxx_printers;register_libstdcxx_printers(None)",
"ignoreFailures": false
},
{
"text": "-enable-pretty-printing",
"ignoreFailures": true
Expand Down

0 comments on commit df3af1f

Please sign in to comment.