Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Represents a thread in a process. The lifetime of an ICorDebugThread instance is the same as the lifetime of the thread it represents.
interface ICorDebugThread : IUnknown {
HRESULT ClearCurrentException ();
HRESULT CreateEval (
[out] ICorDebugEval **ppEval
);
HRESULT CreateStepper (
[out] ICorDebugStepper **ppStepper
);
HRESULT EnumerateChains (
[out] ICorDebugChainEnum **ppChains
);
HRESULT GetActiveChain (
[out] ICorDebugChain **ppChain
);
HRESULT GetActiveFrame (
[out] ICorDebugFrame **ppFrame
);
HRESULT GetAppDomain (
[out] ICorDebugAppDomain **ppAppDomain
);
HRESULT GetCurrentException (
[out] ICorDebugValue **ppExceptionObject
);
HRESULT GetDebugState (
[out] CorDebugThreadState *pState
);
HRESULT GetHandle (
[out] HTHREAD *phThreadHandle
);
HRESULT GetID (
[out] DWORD *pdwThreadId
);
HRESULT GetObject (
[out] ICorDebugValue **ppObject
);
HRESULT GetProcess (
[out] ICorDebugProcess **ppProcess
);
HRESULT GetRegisterSet (
[out] ICorDebugRegisterSet **ppRegisters
);
HRESULT GetUserState (
[out] CorDebugUserState *pState
);
HRESULT SetDebugState (
[in] CorDebugThreadState state
);
};
Methods
| Method | Description |
|---|---|
This method is not implemented. Do not use it. |
|
Creates an ICorDebugEval Interface object that operates on this ICorDebugThread. |
|
Creates an ICorDebugStepper Interface object that allows stepping through the active frame in this ICorDebugThread. |
|
Gets an interface pointer to an ICorDebugChainEnum Interface enumerator that contains all the stack chains in this ICorDebugThread. |
|
Gets an interface pointer to the active ICorDebugChain Interface on this ICorDebugThread. |
|
Gets an interface pointer to the active ICorDebugFrame Interface on this ICorDebugThread. |
|
Gets an interface pointer to the application domain in which this ICorDebugThread is currently executing. |
|
Gets an interface pointer to an ICorDebugValue Interface that represents an exception object currently being thrown by managed code. |
|
Gets a CorDebugThreadState Enumeration value that describes the current debug state of this ICorDebugThread. |
|
Gets the current handle for the active part of this ICorDebugThread. |
|
Gets the current operating system identifier of the active part of this ICorDebugThread. |
|
Gets an interface pointer to the common language runtime (CLR) thread. |
|
Gets an interface pointer to the process of which this ICorDebugThread forms a part. |
|
Gets an interface pointer to the register set associated with this ICorDebugThread. |
|
Gets a bitwise combination of CorDebugUserState Enumeration values that describe the current state of this ICorDebugThread. |
|
Sets a bitwise combination of CorDebugThreadState Enumeration values that describe the debugging state of this ICorDebugThread. |
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