Table Of Contents

Debugging an Executable

Last Modified: April 15, 2020

After building code into an executable, you can debug the executable.

  1. On the Document tab of the Application document, click Debug to launch the executable in debugging mode.
    spd-note-note
    Note  

    If you click Debug without building the executable, LabVIEW automatically builds the executable and launches the executable in debugging mode.

    The top-level VI and the executable start running in debugging mode. LabVIEW locks the entire hierarchy of VIs in the Application document to avoid VI changes during the debugging process.
  2. On the diagram of the top-level VI, debug the executable using the same techniques for debugging a VI.
  3. After you finish debugging, click Stop debugging. LabVIEW stops running the executable and unlocks the entire hierarchy of VIs in the Application document.

Recently Viewed Topics