Debugging

Seeing what running code did between an input arriving and a result coming out: which code ran, what the values were at each point, and why a value ended up as it did.

Overview

InCAPassessed

Seeing what the framework did between a request arriving and a query being issued — which handlers ran, how the query was rewritten, why a value ended up as it did.

SAP SHIPSby design
Node.js →

@cap-js/console Connects a running CAP application to the CAP console.

@cap-js/data-inspector Inspects database entities and their contents at the CAP service level.

@sap/cds-dk The command line client and development toolkit for CAP projects, with the commands cds build, cds deploy, cds watch and cds add among them.

Java →

com.sap.cds:cds-feature-console A CAP Java plugin that connects a running application to CAP console, which consumes its remote monitoring data; CAP console itself is installed separately and still being developed.

com.sap.cds:cds-feature-dev-dashboard A browser dashboard for a running CAP Java service that shows and manages its messaging, resilience and multitenancy state while developing, open to users with the cds.Developer role.

Not covered: It stops at inspecting data. Seeing which handlers ran, how a query was rewritten and why a value came out as it did still means reading framework source.

SourceCAP plugins — Data Inspectorchecked
THE COMMUNITY ADDS

Community tools reach the questions the core leaves open: sap-cap-debugger attaches a Node debugger to a CAP application already running on Cloud Foundry, and @saptools/service-flow traces one CAP operation through handlers, database access and remote calls without running anything.

InABAPassessed

Seeing what an ABAP program did at runtime in the system it runs in: the variables, internal tables and object instances at a step, the calls that led there, and where a value changed.

SAP SHIPS

The ABAP Debugger stops a running program and shows up to four tools at once on its desktops; debugger scripting automates it from inside, stepping, reading and changing values and writing custom traces.

Not covered: At the current step. The documentation checked describes no way back to a step already passed, in the debugger or in a script.

THE COMMUNITY ADDS

Community debugger scripts and extensions sit on the debugger's own scripting: Smart Debugger records every step so execution can be stepped backwards, and abap_debugger_object_graph_extension and ABAP-Object-Visualizer draw an object as a Graphviz graph. dbg_value_statement turns a variable into the VALUE statement that recreates it, and dump_info shows the variables a short dump captured.

Artifacts22

Group by22 of 22 artifacts
ArtifactSignals
Apps5
abap_debugger_object_graph_extensionABAP debugger extension drawing objects as a Graphviz graph
Signals
Quiet
ABAP-Object-VisualizerDebugger script exporting an object hierarchy as Graphviz
Signals
Quiet
com.sap.cds:cds-feature-dev-dashboardBrowser dashboard for a running CAP Java service during development
Signals
none
dump_infoDisplays the variables of ABAP short dumps
Signals
Quiet
Smart DebuggerSAP GUI debugger script recording steps so execution can run backwards
Signals
none
CDS plugins2
@cap-js/consoleConnects a running CAP application to the CAP console
Signals
none
@cap-js/data-inspectorInspects database entities and contents at CAP service level
Signals
none
CLI tools10
@sap/cds-dkCommand line client and development toolkit for CAP
Signals
none
@saptools/cf-debuggerNode.js inspector tunnel over cf ssh to Cloud Foundry apps
Signals
none
@saptools/cf-explorerFile search in apps deployed to SAP BTP Cloud Foundry over cf ssh
Signals
none
@saptools/cf-function-traceStep-by-step state recorder for one JavaScript function in Node.js
Signals
none
@saptools/cf-hanaSQL runner against the SAP HANA Cloud database bound to a CF app
Signals
none
@saptools/cf-inspectorShell debugger for remote Node.js over the Chrome DevTools Protocol
Signals
none
@saptools/cf-live-traceHTTP trace hook streaming a running CF Node.js app's traffic
Signals
none
@saptools/cf-request-runnerEndpoint discovery for CAP services deployed to Cloud Foundry
Signals
none
@saptools/service-flowStatic end-to-end tracer of one CAP operation across repositories
Signals
none
sap-cap-debuggerAttaches a debugger to a CAP app running on Cloud Foundry
Signals
none
Generators1
dbg_value_statementDebugger script generating a VALUE statement for a variable
Signals
Quiet
IDE extensions1
ABAP remote filesystemVS Code extension editing ABAP systems over ADT as a filesystem
Signals
none
MCP servers1
abapsmithABAP MCP server over ADT with a local journal that can undo writes
Signals
Functional boundary
Packages1
com.sap.cds:cds-feature-consoleConnects a running CAP Java app to CAP console for monitoring
Signals
none
Web tools1
Graphviz-browserStatic page drawing Graphviz graphs for the ABAP debugger extension
Signals
none

Content7

Group by
Piece, what it offers
ABAP - Create dump
Software-Heroes, Björn S., Blog
Debugging in ABAP Development Tool (Part 1)
SAP Community, M_Sumaiya_Khatoon, Blog
My CAP Projects Toolbox
SAP Community, vvdries, Blog
Show 4 more
Surviving and Thriving with the SAP Cloud Application Programming Model: Local development hurdles
SAP Community, maxstreifeneder, Blog
debug a CAP app with UI5 TypeScript UI component with VS Code
SAP Community, Volker Buzek, BlogRunnable code
Get an introduction to the cds REPL
SAP Developer Center, SAP, TutorialThe reasoningA recipe
SAP BAIP, ABAP environment: Monitoring and troubleshooting
SAP TechEd — session catalogue, TalkA recipe

Seen working1

ArtifactSignals
Samples1
SAP-samples/teched2025-DT266TechEd 2025 workshop on troubleshooting ABAP Cloud extensions
none

Details

Coverage
statecore and community, CAP
assessed
state in ABAPcore and community, assessed
relationshipnarrow by design
also inABAP
For your agent