Sap Breakpoint Delete
sap_breakpoint_deleteDelete an external ABAP breakpoint from a program, class method, or function module by line number or source match pattern; reports when the breakpoint was not set.
Instructions
Delete an external ABAP breakpoint on a specific line of a program, class method, or function module. Desktop backend only.
Provide either line_number (1-indexed SAP display line) or match_pattern (substring or regex matched against source lines).
If the line has no breakpoint, SAP sets one. This tool detects that and re-applies to undo it, then reports action='was_not_set'.
Note: this only removes the breakpoint from the source editor. It does NOT step or continue a debugger that is currently stopped and showing a modal dialog — there is no tool for that; only a human at the SAP GUI can dismiss it.
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": {
"object_type": "<object_type>",
"object_name": "<object_name>"
},
"name": "sap_breakpoint_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | Session ID (e.g., "s1"). None uses primary session. | |
| agent_id | No | Agent identifier for binding check. Optional. | |
| line_number | No | 1-indexed SAP display line. Mutually exclusive with match_pattern. | |
| method_name | No | Required for CLAS (method name) and FUGR (function module name). | |
| object_name | Yes | Program name, class name, or function group name. | |
| object_type | Yes | "PROG" for programs, "CLAS" for classes, "FUGR" for function groups. | |
| match_pattern | No | Substring or regex matched against source. Mutually exclusive with line_number. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error message if success=False | |
| popup | No | Present when a popup dialog is active on screen | |
| action | No | What actually happened | deleted |
| success | No | Whether the operation succeeded | |
| line_number | No | 1-indexed line number | |
| method_name | No | Method or function module name (None for PROG) | |
| object_name | Yes | Program name, class name, or function group name | |
| object_type | Yes | Object type: PROG, CLAS, or FUGR | |
| active_window | No | Which window was operated on (e.g., 'wnd[0]', 'wnd[1]'). If 'wnd[1]' or higher, a modal dialog is open. | |
| status_message | No | Raw SAP status bar message |