Notifies the debugger that an error has occurred while attempting to handle an event from the common language runtime (CLR).
HRESULT DebuggerError ( [in] ICorDebugProcess *pProcess, [in] HRESULT errorHR, [in] DWORD errorCode );
The process may be placed into pass-through mode, depending on the nature of the error.
The DebugError callback indicates that debugging services have been disabled due to an error, so debuggers should make the error message available to the user. ICorDebugProcess::GetID will be safe to call, but all other methods, including ICorDebug::Terminate, should not be called. The debugger should use operating-system facilities for terminating processes.
Platforms: See .NET Framework System Requirements.
Header: CorDebug.idl, CorDebug.h
.NET Framework Versions: 4.6, 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0