Breakpoints allow you to pause Workflow execution at specific steps of the Workflow in order to examine variable states. Breakpoints can also be used to verify Workflow execution flow by allowing you to switch to "stepping mode" to proceed through a Workflow step-by-step. When Workflow execution reaches a step that has a breakpoint, the Designer pauses the Workflow before the step executes and waits until you click the Run or Step icon, at which point Workflow execution continues.
Breakpoints do not affect anything within the Workflow itself and are ignored when the Workflow is triggered in an Event Rule.
To debug a Workflow using breakpoints
In the Steps pane of the Designer window, set breakpoints in one of the following ways:
On the step where you want the Workflow to pause, click just to the left of the step in the space between the step and step number.
Select the step where you want the Workflow to pause. Then on the Edit menu, click Toggle Breakpoint
Select the step where you want the Workflow to pause, and press the F8 key
A breakpoint is indicated by a red dot () to
the left of the step. The step is also colored the Breakpoint color as
set in the Color preferences.
In the Designer toolbar,
click Run to run the Workflow.
The Workflow runs and stops at the first breakpoint.
In the Designer Debug window, click the Variables tab to check the current value of your variables. You may also want to check the Output view in the Debug window.
Depending on what you determine from the data displayed, you can then click Run to continue the Workflow, click the Step icon to continue the Workflow step by step, or click the Reset icon to stop the Workflow and edit the steps.