You can define breakpoints on specific lines of your script.
-
From the Manage Logics dialog box, open the custom logic that
contains the script you want to debug.
-
Select the line in the Script Code section where you want to add
a breakpoint.
-
Click the left margin next to the line number in the editor.

A red mark appears in the left margin of the breakpoint line.
-
Click to save your script and the
breakpoints.
- Optional:
Click Execute to test the
execution of the script.
Note:
This option is only available in the Execution Mode.
-
Minimize or close the editor panel.
-
Click OK in the Manage Logics dialog box
to validate and exit.
Result: When the simulation is running, the execution of the script
pauses when it reaches a breakpoint and the debug panel opens. The script line containing
the breakpoint is highlighted in red.
You can remove the breakpoint by repeating this
procedure for the line with the breakpoint or by right-clicking the
breakpoint.