Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ICorDebugManagedCallback::DebuggerError Method

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
);

Parameters

pProcess

[in] A pointer to an ICorDebugProcess Interface object that represents the process in which the event occurred.

errorHR

[in] The HRESULT value that was returned from the event handler.

errorCode

[in] An integer that specifies the CLR error.

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 Method will be safe to call, but all other methods, including ICorDebug::Terminate Method, should not be called. The debugger should use operating-system facilities for terminating processes.

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.