This documentation is archived and is not being maintained.

ICorDebugProcess2 Interface

A logical extension of the ICorDebugProcess interface, which represents a process running managed code.



ICorDebugProcess2::ClearUnmanagedBreakpoint Method

Removes a breakpoint at the specified offset that was set by an earlier call to ICorDebugProcess2::SetUnmanagedBreakpoint.

ICorDebugProcess2::GetDesiredNGENCompilerFlags Method

Gets the flags that must be set for the common language runtime (CLR) to load the image into the process referenced by this ICorDebugProcess2.

ICorDebugProcess2::GetReferenceValueFromGCHandle Method

Gets a reference pointer to the specified managed object that has a garbage collection handle.

ICorDebugProcess2::GetThreadForTaskID Method

Gets the thread upon which the task with the specified identifier is executing.

ICorDebugProcess2::GetVersion Method

Gets the version of the CLR upon which the process being debugged is running.

ICorDebugProcess2::SetDesiredNGENCompilerFlags Method

Sets the flags that are required for the just-in-time (JIT) compiler to load an image into the process being debugged.

ICorDebugProcess2::SetUnmanagedBreakpoint Method

Sets an unmanaged breakpoint at the specified native image offset.


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

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