Table Of Contents

Pausing Execution with Breakpoints

    Last Modified: December 2, 2016

    When looking for a problem in your code, you may have an idea of the general area where the problem exists. To help focus on this area, you can use a breakpoint to pause the VI at a specified point in the program.

    When the VI reaches a breakpoint during execution, you can take the following actions:

    • Single-step through execution using the single-stepping buttons.
    • Check intermediate values on probes that you placed on wires prior to running the VI.
    • Change values of panel controls.
    • Click the Resume button to continue running to the next breakpoint or until the VI finishes running.

    You can add a breakpoint on any wire or node in the code, or in a row of a MathScript or C node. Add a breakpoint by right-clicking the wire, node, or row and selecting Set Breakpoint.

    Recently Viewed Topics