GetBreakOnLibraryErrors

int GetBreakOnLibraryErrors (void);

Purpose

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

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

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

Parameters

None.

Return Value

Name Type Description
state integer Current state of the Break on library errors option.

Code Description
1 Break on library errors option is enabled.
0 Break on library errors option is disabled or debugging is disabled.