stack_explore
Get a complete stack trace with local variables at each frame and a visual ASCII tree of call relationships in a single call. Replaces separate stacktrace and variable retrievals.
Instructions
In one call: full stack + locals at every frame + a pre-rendered ASCII tree showing caller → callee with arrows. Use this instead of stacktrace_get + variables_get per frame when you want to see the whole picture at once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadId | No | Thread id. Defaults to the last-stopped thread. | |
| maxFrames | No | Maximum frames to include. Default 10. | |
| maxLocalsPerFrame | No | Maximum locals per frame. Default 10. |