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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>"
},
"name": "gdb_backtrace"
}
}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 |