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 方法

获取一个指针,该指针指向表示此 ICorDebugNativeFrame 的寄存器组的 ICorDebugRegisterSet

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

其他资源

调试接口