Partilhar via


ICorDebugThread::GetDebugState Method

Gets the current debug state of this ICorDebugThread Interface.

HRESULT GetDebugState (
    [out] CorDebugThreadState   *pState
);

Parameters

Parameter Description

pState

[out] A pointer to a bitwise combination of CorDebugThreadState Enumeration 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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

ICorDebugThread Interface
ICorDebugThread2 Interface