gdb_backtrace
Analyze and display the call stack during a GDB debugging session, optionally including variables and limiting the number of frames. Simplify debugging by identifying execution flow and context.
Instructions
Show call stack
Input Schema
Name | Required | Description | Default |
---|---|---|---|
full | No | Show variables in each frame (optional) | |
limit | No | Maximum number of frames to show (optional) | |
sessionId | Yes | GDB session ID |
Input Schema (JSON Schema)
{
"properties": {
"full": {
"description": "Show variables in each frame (optional)",
"type": "boolean"
},
"limit": {
"description": "Maximum number of frames to show (optional)",
"type": "number"
},
"sessionId": {
"description": "GDB session ID",
"type": "string"
}
},
"required": [
"sessionId"
],
"type": "object"
}