What is the difference between a breakpoint and a watchpoint, and between session, external and debugger breakpoints?
Say your answer out loud first.
Practise another way
A breakpoint stops the program at a place: a line, a statement type or an exception. A watchpoint stops it when a variable changes, optionally only when a condition is true.
It helps when the wrong value is known but its source is not. Session breakpoints live in the current SAP GUI session.
External, or user, breakpoints also catch the user's RFC and HTTP requests. Debugger breakpoints exist only during one debug session. In ADT, breakpoints are external user breakpoints by default.
Breakpoint vs watchpoint
- A breakpoint is tied to a position. Besides line breakpoints, the debugger offers three more kinds. Statement breakpoints stop at every
CLEAR, everySELECTor everyCALL FUNCTION. Exception breakpoints stop when, say,CX_SY_ITAB_LINE_NOT_FOUNDis raised, even if it is caught. Conditional breakpoints stop only when a condition is true, for examplesy-tabix > 500. - A watchpoint is tied to a data object. You can only create it inside a running debug session; the debugger then stops right after the statement that changed the variable and shows old and new value. Add a condition so it stops only when, say,
lv_status = 'E'.
Breakpoint scope in SAP GUI
- Session breakpoint: valid for the ABAP sessions of your current logon; gone when you log off. It does not catch work that runs under another session.
- External (user) breakpoint: set for a user and valid in that user's future sessions for a limited time. That makes it the one you need for RFC calls, HTTP requests from a Fiori app and other ICF processing.
- Debugger breakpoint: set inside the debugger window, valid only for that debugging session unless you save it as session or external.
In code
BREAK-POINT ID zfi_payment. " active only when the checkpoint group is activated
BREAK sy-uname. " obsolete style; never transport it
A plain BREAK-POINT stops everyone and in background processing only writes a log entry, which is why ATC flags it before release. Prefer BREAK-POINT ID with a checkpoint group, which is off unless someone activates it.
In ADT (any current release): breakpoints are persistent and are external user breakpoints by default, valid for your user on all application servers. The Breakpoints view adds statement and exception breakpoints; watchpoints are set from the Variables view while debugging.
Because ADT breakpoints are user-based, they already catch an OData request from the browser, as long as the request runs under your user.
Interview tip: say when you choose each. Use a watchpoint when the symptom is a wrong value with no idea where it is set.
Use an exception breakpoint when an error message is swallowed by a CATCH. Use a statement breakpoint on MESSAGE to find where a popup comes from.
Defines place vs value, names statement, exception and conditional breakpoints, explains session vs external scope with an RFC or Fiori example, and knows ADT defaults to user breakpoints.
Says 'a watchpoint is a breakpoint on a variable' and cannot say why a session breakpoint misses a Fiori request.
Setting a session breakpoint and expecting it to stop an RFC or HTTP request. Those run in other sessions, so you need an external (user) breakpoint.
- Your breakpoint is never reached by the Fiori app. What is the first thing you check?
- How would you find which statement raises an error message that appears somewhere deep in standard code?
- Why should a hard-coded BREAK-POINT never reach production?
3 official pages and 6 prep guides. Confidence: high. Checked 2 Dec 2026.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.