read_call_stack
Reads and decodes the GDB call stack into structured frames with function, file, line, and address. Use it to diagnose STM32 firmware crashes or breakpoint stops.
Instructions
Reads the call stack as a decoded list of frames {level, func, file, line, addr} plus a one-line summary. Set include_raw=true to also get the raw GDB output.
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": "read_call_stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | Optional debug-session name. Omit for the default target. | |
| include_raw | No | Include the raw GDB transcript (default false). |