# EnableBreakOnLibraryErrors

void EnableBreakOnLibraryErrors (void);

## Purpose

Directs LabWindows/CVI to display a run-time error dialog box when a National Instruments library function reports an error.

If you disable debugging, EnableBreakOnLibraryErrors has no effect.

In general, use the Break on»Library Errors option in the Workspace window to enable this feature. However, you can use EnableBreakOnLibraryErrors in conjunction with DisableBreakOnLibraryErrors to temporarily suppress the Break on»Library Errors feature around a segment of code. EnableBreakOnLibraryErrors does not affect the state of the Break on»Library Errors option.

| Note SetBreakOnLibraryErrors makes EnableBreakOnLibraryErrors obsolete.

## Parameters

None.

## Return Value

None.