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.
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). |