GetBreakOnFirstChanceExceptions

int GetBreakOnFirstChanceExceptions (void);

Purpose

Returns the state of the Break on first chance exceptions option for the thread that calls this function.

GetBreakOnFirstChanceExceptions returns a 1 if the option is enabled, or a 0 if it is disabled.

If debugging is disabled, this function always returns 0.

Parameters

None.

Return Value

Name Type Description
state integer The current state of the state of the Break on first chance exceptions option.

Code Description
1 Break on first chance exceptions is enabled.
0 Break on first chance exceptions is disabled.