Command Breakpoints

Symbol: Command Breakpoints 1:

Function: The command opens the Breakpoints view.

Call: Menu PLC > Window

Breakpoints view

The view provides an overview of all defined breakpoints of an application. All breakpoint commands are available within the view.

Command Breakpoints 2:

Table of current breakpoints

Application

Select the desired PLC project from the list.

POU

Name of the function block containing the breakpoint.

Position

Breakpoint position within the POU

  • Text Editor: Row and column number
  • Graphic editor: Network or element number

"(Impl)" in the case of function blocks indicates that the breakpoint is in the implementation of the function block, not in an instance.

Instance path

Complete object path of the breakpoint position.

Tasks

Name of the tasks for whose execution the breakpoint is to be effective. If there is no restriction, it says "(all)".

Condition

  • Break always: No additional activation condition defined. The breakpoint is always active.
  • Boolean expression. The expression must return TRUE for the breakpoint to be active.

Hit count condition

Indicates when (in which dependency on the hit count) the breakpoint should become effective.

Current hit count

Specifies how often the breakpoint has already been passed through ("hit") during execution.

Toolbar

Command Breakpoints 3:

New Breakpoint

(corresponds to the command Command New Breakpoint in the Debug menu)

Opens the Breakpoint Properties dialog

Command Breakpoints 4:

Clear breakpoint

Removes the breakpoint.

Do not confuse this command with the Disable command.

Command Breakpoints 5:

Enable/disable breakpoint

(corresponds to the commands Command Enable Breakpoint and Command Disable Breakpoint in the Debug menu)

Switches the breakpoint or execution point between "enabled" and "disabled" status.

  • Command Breakpoints 6: breakpoint enabled
  • Command Breakpoints 7: breakpoint disabled
  • Command Breakpoints 8: Execution point enabled
  • Command Breakpoints 9: Execution point disabled

In contrast to Clear breakpoint, a disabled breakpoint remains in the list and can be enabled again.

Command Breakpoints 10:

Properties

Opens the Breakpoint Properties dialog for editing the breakpoint parameters. In online mode, you can convert the breakpoint to a execution point here.

Command Breakpoints 11:

Go to source code position

Opens the online view of the respective function block. The cursor is at the breakpoint position.

Command Breakpoints 12:

Delete All Breakpoints

Deletes all breakpoints and execution points of the application. The list is emptied. Not to be confused with disabling!

Command Breakpoints 13:

Enable all breakpoints

Enables all currently disabled breakpoints and execution points.

Command Breakpoints 14:

Disable all breakpoints

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

See also: