Command ‘Breakpoints’

Symbol:

Function: This command opens the Breakpoints view.

Call: Menu bar: View .

This view shows an overview of all defined breakpoints for an application. You have access to all breakpoint commands within this view.

Table of current breakpoints

Application

Select the required application from the list.

POU

Name of the function block that will receive the breakpoint

Location

Location of the breakpoint in the POU

  • Text editor: Line number and column number

  • Graphical editor: Network number or element number

For function blocks, “(Impl)” indicates that the breakpoint is located in the implementation of the function block, not in an instance.

Instance Path

Complete object path of the breakpoint location.

Tasks

Names of tasks that will be effective when the breakpoint is executed. If there are no restrictions, then “(all)” is displayed here.

Condition

  • Break always: No additional enable condition defined; the breakpoint is always enabled.

  • Boolean expression. The expression must yield TRUE for the breakpoint to be enabled.

Hit Count Condition

When the breakpoint should be in effect (depending on the hit count)

Current Hit Count

How often the breakpoint has already been reached up to now during the execution

Toolbar

New Breakpoint

This command opens the Breakpoint Properties dialog.

New Data Breakpoint

This command opens the New Breakpoint dialog.

Clear Breakpoint

Removes the breakpoint (not the same as disable)

Enable/Disable Breakpoint

Toggles the status of the breakpoint or execution point between “enabled” and “disabled”

  • Breakpoint enabled

  • Breakpoint disabled

  • Execution point enabled

  • Execution point disabled

  • Data breakpoint enabled

  • Data breakpoint disabled

  • Data execution point enabled

  • Data execution point disabled

As opposed to “Clear breakpoint”, a disabled breakpoint remains in the list and can be enabled again.

Properties

The Breakpoint Properties dialog opens for editing the breakpoint parameters. This dialog is the same as New Breakpoint. In online mode, you can change the breakpoint into an execution point.

Go to Source Position

Opens the online view of the affected block. The cursor is set at the breakpoint location.

Clear All Breakpoints

Deletes all breakpoints and execution points in the application. The list is cleared. Not to be confused with “deactivate”.

Enable All Breakpoints

Enables all currently disabled breakpoints and execution points.

Disable All Breakpoints

Disables all currently enabled breakpoints and execution points. The points remain in the list and can be enabled again.

See also