ICorDebugProcess2 Interface
A logical extension of the ICorDebugProcess interface, which represents a process running managed code.
interface ICorDebugProcess2 : IUnknown {
HRESULT ClearUnmanagedBreakpoint (
[in] CORDB_ADDRESS address
);
HRESULT GetDesiredNGENCompilerFlags (
[out] DWORD *pdwFlags
);
HRESULT GetReferenceValueFromGCHandle (
[in] UINT_PTR handle,
[out] ICorDebugReferenceValue **pOutValue
);
HRESULT GetThreadForTaskID (
[in] TASKID taskid,
[out] ICorDebugThread2 **ppThread
);
HRESULT GetVersion (
[out] COR_VERSION* version
);
HRESULT SetDesiredNGENCompilerFlags (
[in] DWORD pdwFlags
);
HRESULT SetUnmanagedBreakpoint (
[in] CORDB_ADDRESS address,
[in] ULONG32 bufsize,
[out, size_is(bufsize), length_is(*bufLen)]
BYTE buffer[],
[out] ULONG32 *bufLen
);
};
Methods
Method |
Description |
---|---|
Removes a breakpoint at the specified offset that was set by an earlier call to ICorDebugProcess2::SetUnmanagedBreakpoint. |
|
Gets the flags that must be set for the common language runtime (CLR) to load the image into the process referenced by this ICorDebugProcess2. |
|
Gets a reference pointer to the specified managed object that has a garbage collection handle. |
|
Gets the thread upon which the task with the specified identifier is executing. |
|
Gets the version of the CLR upon which the process being debugged is running. |
|
Sets the flags that are required for the just-in-time (JIT) compiler to load an image into the process being debugged. |
|
Sets an unmanaged breakpoint at the specified native image offset. |
Requirements
Platforms: See .NET Framework System Requirements.
Header: CorDebug.idl
Library: CorGuids.lib
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0