ICorDebugManagedCallback2 Interface

Provides methods to support debugger exception handling and managed debugging assistants (MDAs). ICorDebugManagedCallback2 is a logical extension of the ICorDebugManagedCallback interface.

Methods

Method

Description

ICorDebugManagedCallback2::ChangeConnection Method

Notifies the debugger that the set of tasks associated with the specified connection has changed.

ICorDebugManagedCallback2::CreateConnection Method

Notifies the debugger that a new connection has been created.

ICorDebugManagedCallback2::DestroyConnection Method

Notifies the debugger that the specified connection has been terminated.

ICorDebugManagedCallback2::Exception Method

Notifies the debugger that a search for an exception handler has started.

ICorDebugManagedCallback2::ExceptionUnwind Method

Provides a status notification during the exception unwinding process.

ICorDebugManagedCallback2::FunctionRemapComplete Method

Notifies the debugger that code execution has switched to a new version of an edited function.

ICorDebugManagedCallback2::FunctionRemapOpportunity Method

Notifies the debugger that code execution has reached a sequence point in an older version of an edited function.

ICorDebugManagedCallback2::MDANotification Method

Provides notification that code execution has encountered a managed debugging assistant (MDA) message.

Remarks

The ICorDebugManagedCallback2 interface extends the ICorDebugManagedCallback interface to handle new debug events introduced in the .NET Framework version 2.0.

A debugger must implement ICorDebugManagedCallback2 if it is debugging .NET Framework 2.0 applications. An instance of ICorDebugManagedCallback or ICorDebugManagedCallback2 is passed as the callback object to ICorDebug::SetManagedHandler.

Note

This interface does not support being called remotely, either cross-machine or cross-process.

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

ICorDebugManagedCallback Interface

Concepts

Diagnosing Errors with Managed Debugging Assistants

Other Resources

Debugging Interfaces