This documentation is archived and is not being maintained.

ICorDebugProcess Interface

Updated: March 2012

Represents a process that is executing managed code. This interface is a subclass of ICorDebugController.



ICorDebugProcess::ClearCurrentException Method

Clears the current unmanaged exception on the given thread.

ICorDebugProcess::EnableLogMessages Method

Enables and disables the sending of log messages to the debugger.

ICorDebugProcess::EnumerateAppDomains Method

Enumerates all of the application domains in the process.

ICorDebugProcess::EnumerateObjects Method

Not implemented.

ICorDebugProcess::GetHandle Method

Gets a handle to the process.

ICorDebugProcess::GetHelperThreadID Method

Gets the operating system (OS) thread ID for the debugger's internal helper thread.

ICorDebugProcess::GetID Method

Gets the operating system (OS) ID of the process.

ICorDebugProcess::GetObject Method

Not implemented.

ICorDebugProcess::GetThread Method

Gets the ICorDebugThread instance that has the specified OS thread ID.

ICorDebugProcess::GetThreadContext Method

Gets the context for the given thread.

ICorDebugProcess::IsOSSuspended Method

Determines whether the thread has been suspended as a result of the debugger stopping the process.

ICorDebugProcess::IsTransitionStub Method

Determines whether an address is inside a stub that will cause a transition to managed code.

ICorDebugProcess::ModifyLogSwitch Method

Sets the severity level of the specified log switch.

ICorDebugProcess::ReadMemory Method

Reads memory from the process.

ICorDebugProcess::SetThreadContext Method

Sets the context for the given thread.

ICorDebugProcess::ThreadForFiberCookie Method


ICorDebugProcess::WriteMemory Method

Writes data to an area of memory in the process.


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, 1.1, 1.0




March 2012

Added inheritance information to the description.

Customer feedback.