共用方式為


ICorDebugNativeFrame

更新:2007 年 11 月

用於原生框架的 ICorDebugFrame 特定實作。

interface ICorDebugNativeFrame : ICorDebugFrame {
        
    HRESULT CanSetIP (
        [in] ULONG32            nOffset
    );
        
    HRESULT GetIP (
        [out] ULONG32           *pnOffset
    );
        
    HRESULT GetLocalDoubleRegisterValue (
        [in] CorDebugRegister   highWordReg,
        [in] CorDebugRegister   lowWordReg,
        [in] ULONG              cbSigBlob,
        [in] PCCOR_SIGNATURE    pvSigBlob,
        [out] ICorDebugValue    **ppValue
    );
        
    HRESULT GetLocalMemoryRegisterValue (
        [in] CORDB_ADDRESS      highWordAddress,
        [in] CorDebugRegister   lowWordRegister,
        [in] ULONG              cbSigBlob,
        [in] PCCOR_SIGNATURE    pvSigBlob,
        [out] ICorDebugValue    **ppValue
    );
        
    HRESULT GetLocalMemoryValue (
        [in] CORDB_ADDRESS      address,
        [in] ULONG              cbSigBlob,
        [in] PCCOR_SIGNATURE    pvSigBlob,
        [out] ICorDebugValue    **ppValue
    );
        
    HRESULT GetLocalRegisterMemoryValue (
        [in] CorDebugRegister   highWordReg,
        [in] CORDB_ADDRESS      lowWordAddress,
        [in] ULONG              cbSigBlob,
        [in] PCCOR_SIGNATURE    pvSigBlob,
        [out] ICorDebugValue    **ppValue
    );
        
    HRESULT GetLocalRegisterValue (
        [in] CorDebugRegister   reg,
        [in] ULONG              cbSigBlob,
        [in] PCCOR_SIGNATURE    pvSigBlob,
        [out] ICorDebugValue    **ppValue
    );
        
    HRESULT GetRegisterSet (
        [out] ICorDebugRegisterSet **ppRegisters
    );
        
    HRESULT SetIP (
        [in] ULONG32            nOffset
    );
        
};

方法

方法

描述

ICorDebugNativeFrame::CanSetIP 方法

取得值,指出將指令指標設定為機器碼中指定的位移位置是否安全。

ICorDebugNativeFrame::GetIP 方法

取得機器碼中堆疊框架的位移。

ICorDebugNativeFrame::GetLocalDoubleRegisterValue 方法

取得 ICorDebugValue 的指標,表示存放在原生框架的兩個記憶體暫存器中的引數值或區域變數值。

ICorDebugNativeFrame::GetLocalMemoryRegisterValue 方法

取得 ICorDebugValue 的指標,表示區域變數的值,其低位元會存放在指定的暫存器中,而高位元則存放在指定的記憶體位址中。

ICorDebugNativeFrame::GetLocalMemoryValue 方法

取得 ICorDebugValue 的指標,表示存放在指定記憶體位址的區域變數值。

ICorDebugNativeFrame::GetLocalRegisterMemoryValue 方法

取得 ICorDebugValue 的指標,表示區域變數的值,其高位元會存放在指定的暫存器中,而低位元則存放在指定的記憶體位址中。

ICorDebugNativeFrame::GetLocalRegisterValue 方法

取得 ICorDebugValue 的指標,表示存放在指定之原生暫存器中的引數值或區域變數值。

ICorDebugNativeFrame::GetRegisterSet 方法

取得 ICorDebugRegisterSet 的指標,表示此 ICorDebugNativeFrame 的暫存器集。

ICorDebugNativeFrame::SetIP 方法

設定指令指標,指向機器碼中所指定的位移位置。

需求

**平台:**請參閱 .NET Framework 系統需求

**標頭:**CorDebug.idl

**程式庫:**CorGuids.lib

**.NET Framework 版本:**3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0、1.1、1.0

請參閱

參考

ICorDebugILFrame

其他資源

偵錯介面