Breakpoints

Overview

The View > Breakpoints command opens the Breakpoints view which provides an overview on the breakpoints set in the project. The breakpoint parameters are displayed and can be modified. The Breakpoints view allows you to add, remove, enable, or disable breakpoints.

The breakpoint parameters basically are those which have been set when creating a breakpoint by the Toggle Breakpoint command (default condition parameters are assigned) or via the New Breakpoint.../New Data Breakpoint... command (possibility to define certain conditions).

Element

Description

Example

Application

Name of the active application.

App1 [PLC:Plc Logic]

POU

Name of the POU containing this breakpoint.

PLC_PRG

Location

Breakpoint position within POU: line and column numbers (text editors) or network or element numbers (graphic editors);

(Impl): In case of function blocks, it indicates that the breakpoint is in the implementation part of the function block.

Line 2, Column 1 (Impl)

Instance Path

Complete object path of the breakpoint position.

PLC.Application.PLC_PRG.FBinst1

Tasks

Tasks during the run of which the breakpoints should be noticed:

(any) in case of no restriction (default), or particular task names.

MainTask, SubTask1

Condition

Conditional breakpoint:

Definition of condition (number of hits) when the breakpoint should cause a break in processing.

For possible entries, refer to New Breakpoint... New Breakpoint; (default: 1).

Break when the hit count is equal to 3

Current hit count

Indicates how often the breakpoint has been run through (hit) up to now.

3

The following functions are available via buttons in the upper right part of the view, for editing the breakpoint parameters of the breakpoint selected in the list, or for adding or removing breakpoints:

Button

Name

Description

New breakpoint

Opens the Breakpoint Properties dialog box.

Refer to the description of the corresponding command New Breakpoint....

New data breakpoint

Opens the New Breakpoint dialog box for defining a new breakpoint.

Refer to the description of the corresponding command New Data Breakpoint....

Clear breakpoint

Removes the breakpoint.

Enable/disable breakpoint

Toggles the breakpoint between enabled and disabled status.

  • Breakpoint enabled

  • Breakpoint disabled

  • Execution point enabled

  • Execution point disabled

  • Data breakpoint enabled

  • Data breakpoint disabled

  • Data execution point enabled

  • Data execution point disabled

If a breakpoint is disabled, it will not be removed from the list, but can be re-enabled.

Properties

Opens the Breakpoint Properties dialog box.

It allows you to modify the breakpoint parameters. The dialog box matches the New Breakpoint... dialog box.

Go to source position

Opens the Select Online State dialog box.

It allows you to get to the source position of the breakpoint.

Clear all breakpoints

Removes all breakpoints.

The list will be empty.

Enable all breakpoints

Enables the disabled breakpoints.

Disable all breakpoints

Disables the enabled breakpoints.

The breakpoints remain in the list and can be re-enabled.