Admin Production ni-theme
Current Publication

Editing Breakpoints

LabWindows/CVI

Edit Breakpoint

Open the Edit Breakpoint dialog box by selecting Run»Edit Breakpoint in the Source window, Add/Edit Item in the Breakpoints dialog box, or Edit Breakpoint from the context menu of the Source window. The Edit Breakpoint dialog box contains the following options:

  • File—Select the source file that contains the breakpoint you want to edit.
  • Line—Select the line that contains the breakpoint you want to edit.
  • Pass Count—Select the number of times that the source code line executes before the breakpoint occurs.

    If you specify a condition and a pass count, LabWindows/CVI breaks execution after the condition is true the number of times you specify in the Pass Count option.
  • Thread—Debug multithreaded applications by stopping your application on a desired thread. The thread-specific breakpoint will be hit only by the selected thread(s).
  • Condition—Enter an optional expression that LabWindows/CVI evaluates before it executes the source code line. If the condition is true, your program enters a breakpoint state; otherwise, execution continues.
  • Disabled —Disable the breakpoint. The breakpoint icon in the Source window changes color to indicate that you disabled it.
  • Print Message—Enter an optional message for the debugger to print when the breakpoint is hit.
  • Set Next Line—Enter the line you would like to execute when a breakpoint is hit to redirect execution of your application.
  • Continue Execution—Continue execution after a breakpoint is hit. The Continue Execution option is ingored and dimmed if Print Message or Set Next Line are not checked.

After you set all the breakpoint attributes in the Edit Breakpoint dialog box, you can Replace the breakpoint with the new attributes, Add the breakpoint to the breakpoint list, or Cancel the operation.