Show TOC

External Debugging - ConceptLocate this document in the navigation structure

Use

You can implement another type of breakpoint, External Breakpoints for external debugging. You can set one or more external breakpoints for the ABAP program that you later want to interrupt and control with the ABAP debugger. However, an external breakpoint only activates the ABAP Debugger under certain conditions. These include:

  • Which user and application server in AS ABAP processes the request (User-Based Debugging).

  • From which terminal (logon to a Microsoft Windows front-end PC) was the request initiated (Request-Based Debugging).

The general procedure is the same for both external debugging variants and consists of the following actions:

  1. Setting External Breakpoints

    • Log on to the AS ABAP that is to be used for checking HTTP or RFC requests. (It is therefore irrelevant which application server the logon takes place on.)

    • Specify the variants of the external debugging (user-based debugging or request-based debugging).

    • Setting external breakpoints. An newly-set external breakpoint is flagged according to the external debugging variant that was last selected.

  2. Initiate the requests to be checked (or have them initiated).

  3. After the program executed has reached an external breakpoint and the conditions are fulfilled for the selected debugging variants, the program execution is interrupted and the ABAP Debugger is started.

  4. The ABAP Debugger starts within the dialog session where the external breakpoint was set - that is, not in the user session where the request is processed.

  5. The ABAP Debugger window is focussed and you can check and control the remaining program process flow as normal and then cancel the debugging session.

The following general rules also apply:

  • External breakpoints are valid for the current calender day and are only active for two hours.

  • If another breakpoint is set after a period of two hours, then all the breakpoints previously set by the current user are reactivated. They are then flagged with the debugging variant that currently applies.

  • External breakpoints should be set before the requests to be checked are initiated.

  • The ABAP Debugger starts in the dialog session where the external breakpoint that was achieved was initially set. Therefore, do not log off of the AS ABAP after setting the breakpoints.