Skip to content

Debugging

stud0709 edited this page May 2, 2026 · 1 revision

Debugging Tools

This collection of tools allows the agent to debug either by triggering the execution on its own by sending a request to a HTTP endpoint or by interacting with the user. Basic debugging actions are supported (set / remove break-points, navigate, read variables and call stack).

Available MCP Tools

Tool Name Description
sap_debug_attach Stage 2: Initialize background listener, optionally trigger request, and catch session.
sap_debug_cleanup Stage 4: Drops debug session and optionally wipes specific external breakpoints.
sap_debug_context Stage 3: Retrieves variables and stack frame arrays from an active session.
sap_debug_debugger_breakpoint Stage 3: Set volatile session-scoped breakpoints inside a caught debug session.
sap_debug_evaluate Stage 3: Evaluates and drills down into a complex internal table or structure variable.
sap_debug_list_breakpoints Stage 3: Retrieves all currently active breakpoints from the backend.
sap_debug_step Stage 3: Executes a debugging step action and automatically returns the updated context when halted.
sap_debug_sync_external_breakpoints Stage 1: Set external breakpoints before a session starts.

Clone this wiki locally