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 text-based programming node. Add a breakpoint by right-clicking the wire, node, or row and selecting Set breakpoint.