Breakpoints

From Flowcode Help
Jump to navigationJump to search

Breakpoints can be set in the program to trigger the simulation execution to pause on the selected icon. Breakpoints also work with ICD.


Bring up the menu by right clicking on the icon you want to set a breakpoint for and selecting toggle breakpoint.


Breakpoints-ss-1.png


Flowchart icons with active breakpoints are shown with a mark next to them.


Breakpoints-ss-2.png


When running the simulation the execution will highlight and pause on an active breakpoint.


Breakpoints-ss-3.png


Clicking the play button again resumes the simulation execution.


Right clicking the icon and choosing the toggle breakpoint setting again disables the breakpoint.


All of the icons with active breakpoints are displayed on the Breakpoints tab of the Icon Lists window. Double clicking the reference in the Icon Lists window takes you straight to the icon in the flowchart.


BPIcons.jpg


In the Debug menu is an option to clear all breakpoints once you have finished debugging your code.