ICorDebugProcess6 介面ICorDebugProcess6 Interface

以邏輯方式擴充 ICorDebugProcess 介面以啟用功能,例如對原生例外狀況偵錯事件中編碼的 Managed 偵錯事件進行解碼,以及虛擬模組分割。Logically extends the ICorDebugProcess interface to enable features such as decoding managed debug events that are encoded in native exception debug events and virtual module splitting.


方法Method 描述Description
DecodeEvent 方法DecodeEvent Method 對已封裝在特殊設計之原生例外狀況偵錯事件承載中的 Managed 偵錯事件進行解碼。Decodes managed debug events that have been encapsulated in the payload of specially crafted native exception debug events.
EnableVirtualModuleSplitting 方法EnableVirtualModuleSplitting Method 啟用或停用虛擬模組分割。Enables or disables virtual module splitting.
GetCode 方法GetCode Method 取得特定程式碼位址之 Managed 程式碼的相關資訊。Gets information about the managed code at a particular code address.
GetExportStepInfo 方法GetExportStepInfo Method 提供執行階段匯出函式的相關資訊,以協助逐步執行 Managed 程式碼。Provides information on runtime exported functions to help step through managed code.
MarkDebuggerAttached 方法MarkDebuggerAttached Method 變更偵錯項目的內部狀態,讓 .NET Framework 類別庫中的 Debugger.IsAttached 方法傳回 trueChanges the internal state of the debugee so that the Debugger.IsAttached method in the .NET Framework Class Library returns true.
ProcessStateChanged 方法ProcessStateChanged Method 通知 ICorDebug 進程正在執行中。Notifies ICorDebug that the process is running.



這個介面僅適用於 .NET Native。The interface is available with .NET Native only. 嘗試在 .NET 原生之外的 ICorDebug 案例中呼叫 QueryInterface 以擷取介面指標,會傳回 E_NOINTERFACEAttempting to call QueryInterface to retrieve an interface pointer returns E_NOINTERFACE for ICorDebug scenarios outside of .NET Native.


平台: 請參閱 系統需求Platforms: See System Requirements.

標頭: CorDebug.idl、CorDebug.hHeader: CorDebug.idl, CorDebug.h

程式庫: CorGuids.libLibrary: CorGuids.lib

.NET Framework 版本:自 4.6 開始提供,僅限 .NET NativeAvailable since 4.6, .NET Native only.NET Framework Versions: 自 4.6 開始提供,僅限 .NET NativeAvailable since 4.6, .NET Native only

另請參閱See also