abap_debug
Debug ABAP programs interactively: arm line or exception breakpoints, start a program, step through code, and inspect the call stack. Variables are read-only and frames observe-only.
Instructions
ABAP debugger driver: arm breakpoints, run a program, step, inspect the stack. One session at a time; variables read-only, frames observe-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | The program to trigger (action="start"). | |
| step | No | continue may end the session (status="dead" plus captured output). runToLine/jumpToLine need toLine; jumpToLine also needs server ABAP_ALLOW_DEBUG_JUMP_TO_LINE=true and confirm:"jumpToLine". | |
| force | No | stop only — force-terminates a debuggee left attached by an unclean exit (the "Debuggee already attached" error's escape hatch). | |
| frame | No | 1-based stackPosition from the last STACK section. Read-only. | |
| action | Yes | start needs breakpoints+run. step needs stateId+step. stack needs stateId. frame needs stateId+frame. keepalive/stop/status need nothing. | |
| toLine | No | Required for step="runToLine"/"jumpToLine". 1-based line in the current frame's source. | |
| confirm | No | Required for step="jumpToLine": echo "jumpToLine". Ignored otherwise. | |
| stateId | No | From the most recent start/step/stack/frame response; a stale id is refused. | |
| breakpoints | No | ≥1 entry, required only for action="start". Line/exception kinds may mix; validated against SAP before arming. |