Admin Production ni-theme
Current Publication

GetBreakOnLibraryErrors

LabWindows/CVI

GetBreakOnLibraryErrors

int GetBreakOnLibraryErrors (void);

Purpose

Returns the state of the Run»Break on»Library ErrorsRun»Break on»Library Errors option for the thread that calls this function.

GetBreakOnLibraryErrors returns a 1 if you enable the Run»Break on»Library Errors option. If you disable debugging, GetBreakOnLibraryErrors always returns 0.

To change the state of the Run»Break on»Library Errors option interactively, enable or disable that option in the Workspace window. To change the state of the Run»Break on»Library Errors option programmatically, use SetBreakOnLibraryErrors.

Parameters

None.

Return Value

Name Type Description
state int Current state of the Run»Break on»Library Errors option.

Code Description
1 Run»Break on»Library Errors option is enabled.
0 Run»Break on»Library Errors option is disabled or debugging is disabled.

Additional Information

Library: Utility Library

Include file: utility.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later