Show TOC

Procedure documentationManaging the Debugged Process Locate this document in the navigation structure

 

You use this procedure to perform debugging of a running process in step-by-step mode. To do that, you use the Debug perspective in the SAP NetWeaver Developer Studio.

To manage the debugged process, first you start the launch configuration. After that, you use different stepping options to go through the process.

You can use the Step Over option when you want to move to the next flow object in the debugged process. Note that you can go directly to the next flow object no matter whether or not that flow object has a breakpoint.

You can use the Step Into option when you are at a point in the process, which is a subprocess flow object. With the Step Into option you go into the subprocess and continue debugging the inner flow.

You can step out of the subprocess and return to the parent process. To do that, you use the Resume option of the subprocess. You are returned to the next breakpoint in the parent process that is after the flow object you stepped into.

You can also use the Resume option when you want to move to the next breakpoint in the process.

You use the Terminate option to terminate debugging of the process.

Prerequisites

  • You have started the debugged process in runtime.

  • You have created a launch configuration. For more information about creating a launch configuration, see Debugging Processes.

Procedure

Starting the Launch Configuration
  1. In the Debug perspective, choose   Run   Open Debug Dialog...  .

  2. In the dialog that appears, expand Processes and select a launch configuration.

  3. In the launch configuration, choose the Debug pushbutton.

  4. Log on to the AS Java with your credentials.

    You have started your launch configuration. It appears in the Debug view of the Debug perspective.

Moving to the Next Flow Object
  1. In the Debug view, expand a launch configuration.

  2. In the context menu of the process in the launch configuration, choose Step Over.

    You are moved to the next flow object in the process.

    Note Note

    Alternatively, you can use the Step Over pushbutton in the Debug view.

    End of the note.
  3. Repeat the above steps to go to the next flow object.

Debugging the Inner Flow of a Subprocess
  1. In the Debug view, expand a launch configuration.

  2. In the context menu of the process in the launch configuration, choose Step Into.

    Note Note

    You can only use this option if you are at a point in the process, which is a subprocess. You can debug the inner flow of this flow object. An additional thread for the debugged inner flow appears in the Debug view of the Debug perspective.

    End of the note.
  3. To step out of a subprocess, in the context menu of the parent process, choose Resume.

    You are returned to the next breakpoint in the parent process that is after the subprocess flow object you stepped into.

Moving to the Next Breakpoint
  1. In the Debug view, expand a launch configuration.

  2. In the context menu of the process in the launch configuration, choose Resume.

    You are moved to the next breakpoint in the process.

  3. Repeat the above steps to go to the next breakpoint.

Terminating the Debugging Process
  1. In the Debug view, expand a launch configuration.

  2. In the context menu of the process in the launch configuration, choose one of the available terminate options, depending on how you want to terminate the debugging.