get_stop_context
Get complete breakpoint context in one call: stop reason, stack trace, locals, hit count, and recent output. Reduces multiple debugger queries to a single request.
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 |