Breakpoints
You can set breakpoints at desired unit operations or loops to stop the execution when the calculation reaches these points. The breakpoints can be set before and/or after the selected unit or stream has solved. Any number of units or loops can be selected as breakpoints, but they must be done so before the execution starts or when the execution is stopped.
How to set Breakpoints?
To set the breakpoints you must first enter
the "breakpoint" mode by pushing the Set
Breakpoints button to
its "down" state in the Run menu. At this point, the Breakpoints
window is displayed and the cursor changes shape to
You can set the breakpoints either using the cursor or through the Breakpoints window. Clicking the mouse when the cursor is over a unit, assigns that unit as a breakpoint. From the Breakpoint window you can select the breakpoints by simply highlighting the desired units or loops. Note that breakpoints for recycle loops can be set only through the Breakpoints window. All the units designated as breakpoints will be colored purple.
For more details on setting the breakpoints see Breakpoints Window.
How to exit the breakpoint mode?
To exit the "breakpoint" mode, simply push back the Set Breakpoints button to its "up"
state, or press the Esc key. When you exit this mode the Breakpoints window, if it is displayed, will be closed and the cursor will return back to its normal state.
What happens during execution?
When the execution reaches a unit or loop designated as breakpoint, it stops before and/or after the unit or loop is solved. If a unit designated as a breakpoint happens to be in a recycle loop, the execution will stop at this unit during every iteration of the loop.
To display the breakpoint colors during execution, push the View Breakpoints button so that it is in "down" state.
Related Topics