get_stop_context
Get complete debugging context when execution stops at a breakpoint—stop reason, stack trace with source, local variables, hit count, and recent output—with a single call.
Instructions
Get rich context when stopped at any breakpoint — one call replaces many.
Returns stop reason, stack trace with source, locals in the top frame, hit count for the current breakpoint, and recent output lines.
Call this FIRST when execution stops. It gives you everything you need to understand the stop without multiple sequential tool calls.
Args: include_variables: Include local variables for top frame (default True) include_output_tail: Include last N output lines (default 10, 0 to skip)
Escape hatch: see the dap-escape-hatch prompt for unwrapped DAP requests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_variables | No | ||
| include_output_tail | No |