ICorDebugNativeFrame Interface

A specialized implementation of ICorDebugFrame used for native frames.

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
    );
        
};

Methods

Method

Description

ICorDebugNativeFrame::CanSetIP Method

Gets a value that indicates whether it is safe to set the instruction pointer to the specified offset location in native code.

ICorDebugNativeFrame::GetIP Method

Gets the stack frame's offset into native code.

ICorDebugNativeFrame::GetLocalDoubleRegisterValue Method

Gets a pointer to an ICorDebugValue that represents the value of an argument or local variable stored in two memory registers of a native frame.

ICorDebugNativeFrame::GetLocalMemoryRegisterValue Method

Gets a pointer to an ICorDebugValue that represents the value of a local variable, of which the low bits are stored in the specified register and the high bits are stored at the specified memory address.

ICorDebugNativeFrame::GetLocalMemoryValue Method

Gets a pointer to an ICorDebugValue that represents the value of a local variable stored at the specified memory address.

ICorDebugNativeFrame::GetLocalRegisterMemoryValue Method

Gets a pointer to an ICorDebugValue that represents the value of a local variable, of which the high bits are stored in the specified register and the low bits are stored at the specified memory address

ICorDebugNativeFrame::GetLocalRegisterValue Method

Gets a pointer to an ICorDebugValue that represents the value of an argument or a local variable stored in the specified native register.

ICorDebugNativeFrame::GetRegisterSet Method

Gets a pointer to an ICorDebugRegisterSet that represents the register set for this ICorDebugNativeFrame.

ICorDebugNativeFrame::SetIP Method

Sets the instruction pointer to the specified offset location in native code.

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

See Also

Concepts

ICorDebugILFrame Interface

Debugging Interfaces