breakpoint_wait
Block until the debuggee hits a breakpoint or completes a step, then deliver a full snapshot including the call stack, source snippet, local variables, and recent output.
Instructions
Block until the debuggee hits a breakpoint, completes a step, or otherwise stops. Returns the stop info plus a full one-shot snapshot: the topmost stack frame, a source snippet around the stop, top-frame locals, and a peek of recent debuggee stdout/stderr (non-destructive — process_read_output still drains the full buffer). Designed so an agent in a step-inspect loop doesn't need separate inspect / read-output round trips.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeoutSeconds | No | Maximum seconds to wait. Defaults to 30. | |
| maxLocalsPerScope | No | Cap on locals returned per scope on the top frame. Default 30. Pass 0 to omit locals entirely. | |
| maxRecentOutputLines | No | Cap on recent debuggee output lines included with the stop (peeked, not drained). Default 50. Pass 0 to omit output. |