Service Development Help : Debugging Flow Services : Debugging a Flow Service
Debugging a Flow Service
While debugging a service, you can:
*Execute a flow service one flow step at a time and view the results of each step.
*Set breakpoints to specify points in a flow service at which processing should stop.
*Change the values passed to each step in the flow service.
Use the following procedure to debug a flow service.
To debug a flow service
1. In Package Navigator view, select the service you want to debug.
2. In Designer: Run > Debug As > Debug Flow Service
3. If multiple launch configurations exist for the service, use the Select Launch Configuration dialog box to select the launch configuration that you want Designer to use to debug the service.
4. If the launch configuration is set up to prompt the user for input values or there is no launch configuration, in the Enter Input for serviceName dialog box, specify input values for the service. Click OK. For more information about supplying input values, see Entering Input for a Service.
Designer does one of the following:
*If the launch configuration specifies that execution should stop at the first flow step when debugging, Designer prompts you to switch to the Debug perspective. Designer suspends flow service execution immediately before executing the first flow step. For more information about stepping through a flow service, see Stepping Through Flow Services.
*If you are not using an existing launch configuration to debug the service (that is, Designer created one for you automatically), Designer suspends flow service execution immediately before executing the first flow step.
*If the launch configuration does not stop a the first flow step, Designer executes the flow service until a breakpoint hit occurs. Designer prompts you to switch to the Debug perspective. To resume service execution after Designer encounters a breakpoint, select Run > Resume.
*If the flow service does not stop at the first flow step and does not contain a breakpoint, Designer executes the flow service to completion.
5. To execute flow steps one after another up to a specified flow step, right click and select Debug to Here.
Copyright © 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback