Command: Toggle Breakpoint
Symbol: 
Function: The command sets a breakpoint at the selected test element or deletes the existing breakpoint.
Call: Context menu of the test element in the test script editor, in offline or debug mode
Requirement: A test element at which you can set breakpoints is selected in the test script tree:
Test case
Test Action
Call of a test script
External call of a test script
Assignment
Choose
Condition of a Choose element
Otherwise
Important
Breakpoints are effective only if you execute the test script with the Debug Script command. With the Execute Script command, the Test Manager ignores the breakpoints.
The Test Manager saves the breakpoints in the test repository in a separate file next to the test script: <Testskriptname> [<Version>].meta.xml. Therefore, the breakpoints are retained in other CODESYS installations as well. In a source code management system, you can easily exclude the *.meta.xml files, for example with a filter.
An element where a breakpoint is set gets a red
symbol in the test script tree.
Tip
If you do not need a breakpoint temporarily, then disable it with the Switch Breakpoint Activation command. The breakpoint remains set at its position. In this way, you can use breakpoints as bookmarks, for example.
For more information, see the following: Switch Breakpoint Activation, Debug Script