ICorDebugThread::GetDebugState Method

Gets the current debug state of this ICorDebugThread object.

Syntax

HRESULT GetDebugState (  
    [out] CorDebugThreadState   *pState  
);  

Parameters

pState
[out] A pointer to a bitwise combination of CorDebugThreadState enumeration values that describes the current debug state of this thread.

Remarks

If the process is currently stopped, pState represents the debug state that would exist for this thread if the process were to be continued, not the actual current state of this thread.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0