Table of Contents

Class CorProcess

Namespace
Microsoft.Samples.Debugging.CorDebug
Assembly
corapi.dll
public sealed class CorProcess : CorController, IDisposable, IMemoryReader
Inheritance
CorProcess
Implements

Properties

AppDomains
DesiredNGENCompilerFlags
Handle
Id
Objects
ProcessVariable
Raw
Version

Methods

ClearCurrentException(int)
ClearUnmanagedBreakpoint(long)
Continue(bool)

Continue processes after a call to Stop.

outOfBand is true if continuing from an unmanaged event that was sent with the outOfBand flag in the unmanaged callback; false if continueing from a managed event or normal unmanaged event.

DirectDispatchEvent(ManagedCallbackType, CorEventArgs)

Expose direct dispatch logic so that other event dispatchers can use CorProcess's event handlers.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

EnableLogMessages(bool)
GetCorProcess(ICorDebugProcess)
GetReferenceValueFromGCHandle(IntPtr)
GetThread(int)
GetThreadContext(int)
GetThreadContext(int, IntPtr, int)
IsOSSuspended(int)
IsTransitionStub(long)
ModifyLogSwitch(string, int)
ReadMemory(long, byte[])
SetEnableCustomNotification(CorClass, bool)
SetThreadContext(int, INativeContext)
SetThreadContext(int, IntPtr, int)
SetUnmanagedBreakpoint(long)
Stop(int)

Cooperative stop on all threads running managed code in the process.

ThreadForFiberCookie(int)
WriteMemory(long, byte[])

Events

OnAppDomainExit
OnAssemblyLoad
OnAssemblyUnload
OnBreak
OnBreakpoint
OnBreakpointSetError
OnClassLoad
OnClassUnload
OnControlCTrap
OnCreateAppDomain
OnCreateProcess
OnCreateThread
OnCustomNotification
OnDebuggerError
OnEvalComplete
OnEvalException
OnException
OnException2
OnExceptionInCallback
OnExceptionUnwind2
OnFunctionRemapComplete
OnFunctionRemapOpportunity
OnLogMessage
OnLogSwitch
OnMDANotification
OnModuleLoad
OnModuleUnload
OnNameChange
OnProcessExit
OnStepComplete
OnThreadExit
OnUpdateModuleSymbols