Debugging a Process
You can debug a process based on the breakpoints set for the steps. Breakpoints allows you to pause the execution of a process so that you can check the state at a given point and verify the design behavior. It provides insights into design problems and failures.
Note: Break points are enabled when processes are run from the Studio IDE only. They are not considered during engine runtime.
When you enable the debug option for a step, the process execution pauses prior to step execution and displays the values of the associated variables and properties of DJMessages. After viewing these values and properties, you can continue process execution from the paused step or stop the process execution.
Note: You cannot debug the Start step.
To enable or disable debug option for step(s):
1. On Step Builder Canvas, right-click the step that you want to debug during process execution and select Enable Debug.
A small icon is displayed at the corner of the step to indicate that the debug option is enabled for the step.
Note: You cannot enable debug option for a disabled step.
To disable the debug option for a step, right-click on the required step and select Disable Debug. The small debug icon is removed from the corner of the step.
To enable the debug option for multiple steps at once, press and hold the Ctrl key and click on the required steps. Right-click and select Enable/Disable Debug on Step(s). The debug option is enabled for the selected steps.
2. Click
to run the process.
The process execution is paused at the step for which debug was enabled and the Paused at <stepname > window displays the associated global variables with values. Currently, only Variant and DJMessage variables are supported.
3. In the left pane, click the variable to view the associated values.
4. Click Continue to proceed with process execution or click Stop to end the process execution.
Last modified date: 02/01/2024