ICorDebugController::SetAllThreadsDebugState Method

Sets the debug state of all managed threads in the process.

HRESULT SetAllThreadsDebugState (
    [in] CorDebugThreadState  state,
    [in] ICorDebugThread      *pExceptThisThread
);

Parameters

  • pExceptThisThread
    [in] A pointer to an ICorDebugThread Interface object that represents a thread to be exempted from the debug state setting. If this value is null, no thread is exempted.

Remarks

The SetAllThreadsDebugState method may affect threads that are not visible via ICorDebugController::EnumerateThreads Method, so threads that were suspended with the SetAllThreadsDebugState method will need to be resumed with the SetAllThreadsDebugState method.

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

ICorDebugController Interface