Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enables or disables certain types of ICorDebugManagedCallback2 exception callbacks.
Syntax
HRESULT EnableExceptionCallbacksOutsideOfMyCode(
[in] BOOL enableExceptionsOutsideOfJMC
);
Parameters
enableExceptionsOutsideOfJMC
[in]
Remarks
If the value of enableExceptionsOutsideOfJMC is false:
A DEBUG_EXCEPTION_FIRST_CHANCE exception will not result in a callback to the debugger.
A DEBUG_EXCEPTION_CATCH_HANDLER_FOUND exception will not result in a callback to the debugger if the exception never escapes into user code (that is, the path from an exception origin to an exception handler has no methods marked as JustMyCode, or JMC).
The default value of enableExceptionsOutsideOfJMC is true.
Requirements
Platforms: See .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 4.6