Placing and Removing Breakpoints

Use the Breakpoint tool to place a breakpoint on a VI, node, or wire on the block diagram and pause execution at that location. When you set a breakpoint on a wire, execution pauses after data pass through the wire. Place a breakpoint on the block diagram workspace to pause execution after all nodes on the block diagram execute.

When a VI pauses at a breakpoint, LabVIEW brings the block diagram to the front and uses a marquee to highlight the node or wire that contains the breakpoint. When you move the cursor over an existing breakpoint, the black area of the Breakpoint tool cursor appears white.

Complete the following steps to place a breakpoint on a VI, node, or wire on the block diagram and pause execution at that location.

  1. Use the Breakpoint tool to click the wire or block diagram node where you want to pause execution. You also can right-click the wire or node and select Set Breakpoint from the shortcut menu.
  2. Run the VI. When you reach a breakpoint during execution, you can take the following actions:

Use the Breakpoint tool to click an existing breakpoint to remove it.

To locate and navigate all breakpoints on a block diagram, select Browse»Breakpoints. In the Search Results window that appears, double-click an item in the listbox to highlight the breakpoint on the block diagram.