Window»Debug Output

LabWindows/CVI displays the output of the DebugPrintf Utility Library function and the Windows SDK function OutputDebugString in the Debug Output window. If you double-click the output of DebugPrintf and OutputDebugString in the Debug Output window, LabWindows/CVI highlights the function call in the source code.

Use the DebugPrintf function for all your debug output strings. Unlike the Standard I/O window, you can access and scroll through the Debug Output window even while your program is suspended. To view the Debug Output window as the program adds text to the window, enable the Bring Debug Output window to front whenever modified option in the Environment dialog box.

Right-clicking in the Debug Output window displays the context menu with the following options:

  • Clear Window—Removes all items from the Debug Output window.
  • Copy Item—Copies a single, highlighted item to the clipboard.
  • Copy All Items—Copies all items in the Debug Output window to the clipboard.
  • Save to File—Saves the contents of the Debug Output window to a text file.
  • Find—Opens the Find dialog box, which you can use to search for text in the Debug Output window.
  • Goto Item—Highlights the selected line of code.
  • Close—Closes the window.
  • Release/Confine Window—Releases the window from the Output Region if confined. Confines the window into the Output Region if released.

Right-clicking on the tab of the Debug Output window displays the context menu with the following options:

  • Close—Closes the window.
  • Release Window—Removes the window from the Output Region.

WAS THIS ARTICLE HELPFUL?

Not Helpful