gdb_backtrace
Retrieve a stack backtrace to locate crashes or faults, showing function names, file paths, and line numbers with debug symbols; optionally include local variables per frame.
Instructions
Get a stack backtrace. With debug symbols loaded, shows function names, file paths, and line numbers.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gdb_backtrace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Include local variables in each frame (default false) |