ICorDebugThread Interface
Represents a thread in a process. The lifetime of an ICorDebugThread
instance is the same as the lifetime of the thread it represents.
Methods
Method | Description |
---|---|
ClearCurrentException Method | This method is not implemented. Do not use it. |
CreateEval Method | Creates an ICorDebugEval object that operates on this ICorDebugThread . |
CreateStepper Method | Creates an ICorDebugStepper object that allows stepping through the active frame in this ICorDebugThread . |
EnumerateChains Method | Gets an interface pointer to an ICorDebugChainEnum enumerator that contains all the stack chains in this ICorDebugThread . |
GetActiveChain Method | Gets an interface pointer to the active ICorDebugChain on this ICorDebugThread . |
GetActiveFrame Method | Gets an interface pointer to the active ICorDebugFrame on this ICorDebugThread . |
GetAppDomain Method | Gets an interface pointer to the application domain in which this ICorDebugThread is currently executing. |
GetCurrentException Method | Gets an interface pointer to an ICorDebugValue object that represents an exception currently being thrown by managed code. |
GetDebugState Method | Gets a CorDebugThreadState value that describes the current debug state of this ICorDebugThread . |
GetHandle Method | Gets the current handle for the active part of this ICorDebugThread . |
GetID Method | Gets the current operating system identifier of the active part of this ICorDebugThread . |
GetObject Method | Gets an interface pointer to the common language runtime (CLR) thread. |
GetProcess Method | Gets an interface pointer to the process of which this ICorDebugThread forms a part. |
GetRegisterSet Method | Gets an interface pointer to the register set associated with this ICorDebugThread . |
GetUserState Method | Gets a bitwise combination of CorDebugUserState values that describe the current state of this ICorDebugThread . |
SetDebugState Method | Sets a bitwise combination of CorDebugThreadState values that describe the debugging state of this ICorDebugThread . |
Remarks
Note
This interface does not support being called remotely, either cross-machine or cross-process.
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 1.0
See also
Cộng tác với chúng tôi trên GitHub
Bạn có thể tìm thấy nguồn cho nội dung này trên GitHub, nơi bạn cũng có thể tạo và xem lại các vấn đề và yêu cầu kéo. Để biết thêm thông tin, hãy xem hướng dẫn dành cho người đóng góp của chúng tôi.
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho