Show TOC

Executing a Measurement in the New ABAP DebuggerLocate this document in the navigation structure

Procedure

You can start a measurement from the new ABAP Debugger. For example, you can trace program execution between two breakpoints in the debugger.

Here is the procedure for switching a measurement on and off in the new Debugger.

  1. Choose the New Tool button from the toolbar at the side of one of the debugger windows.

    Prerequisite: Control is in the debugger session - for example, the program has stopped at a breakpoint in the debugger session.

    The Debugger displays the New Tool window for selecting from the available tools.

  2. Open the Special Tools folder and choose the Trace (SE30/ST05) function.

    The ABAP Debugger adds the Trace Management tool to your debugger desktop tab.

  3. Next to the entry for Trace Type ABAP Trace (SE30), doubleclick the Activate function in the On/Off column.

    The Status icon changes from Trace Inactive to Trace Active to show that the trace is running.

  4. Run the program farther in the debugger until you want to end the trace.

  5. In the Trace Management tool, double-click the Deactivate Trace icon in the On/Off column to stop the trace.

    If the trace was successful, you can double-click the Trace File icon in the Trace File column to start transaction SAT and view the trace file.

    If the debugged program finishes before you turn off the trace, then you find the trace in Status Measurement Running in transaction SAT. End the trace and display it by choosing Process Measurements in the Evaluate tool bar.

    If the Runtime Analysis displays the message Trace file not yet written. Do you want to wait? then choose the Cancel button to terminate and display the trace.