DebugTakeOverListener
Start an ABAP debug session with at least one breakpoint, attach to the first caught request, and take over from another debugger listening for the same SAP user.
Instructions
[read-only] [debug] Opens a debug session: arms breakpoints, listens for a debuggee and attaches the first one caught. Displaces another debugger listening for the same user. Needs at least one breakpoint. Takes whose requests are caught, the debugging mode and the debugger settings. In user mode it catches every request of the request user (the connected SAP user, or the one named), from this server and from anywhere else. Its breakpoints are one set, shared by every IDE of the same SAP user (in user mode, debugging the same request user; in terminal mode, whatever its ids), and each change rewrites that set as a whole. Runs outside batch mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | A class (as a console application) or a report started in the background once listening; its outcome is reported as the end of the session. | |
| detail | No | How much of the answer to return: "terse" (default, the fields you need to act), "full" (the whole parse), "raw" (the document as ADT sent it). | terse |
| settings | No | Debugger settings, applied after each attach; a field left out keeps its value. | |
| breakpoints | Yes | Breakpoints, at least one: a line, an exception class, an ABAP statement or a message; a line breakpoint may carry a condition. | |
| request_user | No | User mode: the SAP user whose requests are caught; the connected user when omitted. Debugging another user's requests needs the debug authorization for that user. Not taken in terminal mode. | |
| debugging_mode | No | user (when omitted) catches the requests of the request user; terminal catches the requests that carry this debug session's ids and needs no configuration: the run it starts carries them, so without run it catches only requests carrying the same ids. |