‘Online’ ‘Toggle Breakpoint’

Symbol: image\ebx_946809370.gif Shortcut: <F9>

This command sets a Breakpoint in the present position in the active window. If a breakpoint has already been set in the present position, that breakpoint will be removed.

The position at which a breakpoint can be set depends on the language in which the POU in the active window is written.

In the text editors Overview (IL, ST), the breakpoint is set at the line where the cursor is located, if this line is a breakpoint position (recognizable by the dark-gray color of the line number field). You can also click on the line number field to set or remove a breakpoint in the text editors.

In FBD and LD, the breakpoint is set at the currently selected network. In order to set or remove a breakpoint in the FBD or LD Editor, you can also click on the network number field.

In SFC The Sequential Function Chart Editor, the breakpoint is set at the currently selected Step. In SFC you can also use <Shift> with a doubleclick to set or remove a breakpoint.

If a breakpoint has been set, then the line number field or the network number field or the step will be displayed with a light-blue background color. If a breakpoint is reached while the program is running, the program will stop, and the corresponding field will be displayed in a red background color. In order to continue the program, use the ‘Online’ ‘Run’, ‘Online’ ‘Step in’, or ‘Online’ ‘Step over’ commands.

You can also use the Breakpoint dialog box to set or remove breakpoints.