ABAP Debug Session
abap_debug_sessionStart, check, or end an external ABAP debugger listener for a user; listen blocks until a breakpoint hit or timeout and returns debuggee details for inspection.
Instructions
Start, check or end the external ABAP debugger listener for a user. 'listen' registers a listener and then blocks until a program of that user hits a breakpoint (set one first with abap_debug_set_breakpoint) or the listener times out, and returns the debuggee details; then use abap_debug_step, abap_debug_variable and abap_debug_stack. 'status' shows the listener this server holds for the connection; 'detach' removes it. Reports a conflict if another debugger is already attached for that user. Does not change any object.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "abap_debug_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | listen: wait for a breakpoint hit (blocks); detach: remove the listener; status: show terminal id, IDE id and user of the current listener, if any | |
| username | No | SAP user whose programs to debug (listen only; default: the connected user) | |
| connectionId | No | SAP system connection ID |