feat(debug): add Python debug visualizer and enhance gdb integration
This commit is contained in:
7
.vscode/launch.json
vendored
7
.vscode/launch.json
vendored
@@ -32,7 +32,7 @@
|
||||
},
|
||||
{
|
||||
"description": "Load the generic $debug_graph(...) Debug Visualizer helper",
|
||||
"text": "source ${workspaceFolder}/gdb/debug_graph.py",
|
||||
"text": "source ${workspaceFolder}/debuggers/gdb_debug_graph.py",
|
||||
"ignoreFailures": false
|
||||
}
|
||||
]
|
||||
@@ -43,6 +43,9 @@
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/python/main.py",
|
||||
"cwd": "${workspaceFolder}/python",
|
||||
"env": {
|
||||
"PYTHONPATH": "${workspaceFolder}/debuggers"
|
||||
},
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": true
|
||||
},
|
||||
@@ -77,7 +80,7 @@
|
||||
},
|
||||
{
|
||||
"description": "Load the generic $debug_graph(...) Debug Visualizer helper",
|
||||
"text": "source ${workspaceFolder}/gdb/debug_graph.py",
|
||||
"text": "source ${workspaceFolder}/debuggers/gdb_debug_graph.py",
|
||||
"ignoreFailures": false
|
||||
}
|
||||
]
|
||||
|
||||
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@@ -7,7 +7,7 @@
|
||||
"expressionTemplate": "$debug_graph(${expr})"
|
||||
},
|
||||
"debugpy": {
|
||||
"expressionTemplate": "__import__('debug_graph').debug_graph(${expr})"
|
||||
"expressionTemplate": "__import__('py_debug_graph').debug_graph(${expr})"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user