The figure illustrates the typical steps of debugging a process.
The SAP NetWeaver Developer Studio (NWDS) Process Debugger includes the following features:
Debugging of running process instances at the model level.
Stepping over, into, and out of a subflow.
Stopping at breakpoints.
Resuming process execution.
Inspecting process context.
Sending notification of process errors.
Initiating new processes.
Attaching new processes started outside of NWDS.
The Process Debugger must be configured to initiate process debugging. Depending on your configuration, either a new process instance is created or the debugger waits for a new process instance to start. Once the target process starts, the debugger attaches to it.
To set up a process debug configuration, use the following high level procedure (as shown in the figure, Process Debug Configuration — Main Tab):
In the Debug Configuration window, choose the process type, then choose the New button.
Enter a name for the new debug configuration.
Choose the project and the process you want to debug.
Choose the AS Java you want to debug on.
The figure illustrates the steps, performed in this screen.
Error Handling in the PO Process
The process debugger can be used to initiate a new process from SAP NWDS or to attach to new processes that are started outside of SAP NWDS. This is configured on the Arguments tab.
Choose the radio button Attach to all process instances for the debugger to attached to all process instances started outside of NWDS.
Choose the radio button Attach to a new process instances to start a new process instance from NWDS. You must also enter the Web service input values here.
In the debug configuration, choose Debug for the debug configuration you are using. The Debug perspective opens. Depending on the configuration, either a new process instance is created, or the debugger will wait for a new process instance to be started.
The figure shows the area on the very far right side, which contains the required Start command.