Share via


ICorDebugThread::GetDebugState Method

Gets the current debug state of this ICorDebugThread object.

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 .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

See Also

Reference

ICorDebugThread Interface

ICorDebugThread2 Interface