Setting breakpoints
You can set breakpoints at the points in the code at which you want the execution to stop, so that you can step through the following lines. This is useful when you have a rough idea where the problem lies.
To set a breakpoint
Move the cursor to the line on which you want to set the breakpoint, and then do one of these:
▪Click Debug > Toggle Breakpoints.
▪Press Ctrl+B or F9.
▪Click the Edit pane to the left of the line number.
UNICOM Intelligence Professional highlights the line in red and adds the breakpoint to the list in the Breakpoints pane.
To run the code up to the next breakpoint
Press F5, or click Debug > Start or Continue.
UNICOM Intelligence Professional executes the code up to the breakpoint and then stops, so that you can examine the values of variables and object properties and step through the following lines.
To clear a breakpoint
Move the cursor to the breakpoint, and then do one of these:
▪Click Debug > Toggle Breakpoints.
▪Press Ctrl+B or F9.
▪Click the Edit pane to the left of the line number.
To clear all breakpoints
Press Ctrl+Shift+F9, or click Debug > Clear All Breakpoints.
See also