Share via


ICorDebugThread2::InterceptCurrentException Method

Allows a debugger to intercept the current exception on this thread.

HRESULT InterceptCurrentException (
    [in] ICorDebugFrame  *pFrame
);

Parameters

  • pFrame
    [in] A pointer to an ICorDebugFrame that represents the active stack frame.

Remarks

The InterceptCurrentException method can be called between an exception callback (ICorDebugManagedCallback::Exception or ICorDebugManagedCallback2::Exception) and the associated call to ICorDebugController::Continue.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICorDebugThread2 Interface

ICorDebugThread Interface