Condividi tramite


ICorDebugILFrame

Aggiornamento: novembre 2007

Rappresenta uno stack frame di codice MSIL (Microsoft Intermediate Language).

interface ICorDebugILFrame : ICorDebugFrame {
        
    typedef enum CorDebugMappingResult {
        MAPPING_PROLOG              = 0x1,
        MAPPING_EPILOG              = 0x2,
        MAPPING_NO_INFO             = 0x4,
        MAPPING_UNMAPPED_ADDRESS    = 0x8,
        MAPPING_EXACT               = 0x10,
        MAPPING_APPROXIMATE         = 0x20,
    } CorDebugMappingResult;
        
    HRESULT CanSetIP (
        [in] ULONG32                nOffset
    );
        
    HRESULT EnumerateArguments (
        [out] ICorDebugValueEnum    **ppValueEnum
    );
        
    HRESULT EnumerateLocalVariables( 
        [out] ICorDebugValueEnum    **ppValueEnum
    );
        
    HRESULT GetArgument (
        [in] DWORD                  dwIndex,
        [out] ICorDebugValue        **ppValue
    );
        
    HRESULT GetIP (
        [out] ULONG32               *pnOffset, 
        [out] CorDebugMappingResult *pMappingResult
    );
        
    HRESULT GetLocalVariable (
        [in] DWORD                  dwIndex,
        [out] ICorDebugValue        **ppValue
    );
        
    HRESULT GetStackDepth (
        [out] ULONG32               *pDepth
    );
        
    HRESULT GetStackValue (
        [in] DWORD                  dwIndex,
        [out] ICorDebugValue        **ppValue
    );
        
    HRESULT SetIP (
        [in] ULONG32                nOffset
    );
        
};

Metodi

Metodo

Descrizione

Metodo ICorDebugILFrame::CanSetIP

Ottiene un valore che indica se è sicuro impostare il puntatore all'istruzione sulla posizione di offset specificata.

Metodo ICorDebugILFrame::EnumerateArguments

Ottiene un enumeratore per gli argomenti di questo frame.

Metodo ICorDebugILFrame::EnumerateLocalVariables

Ottiene un enumeratore per le variabili locali in questo frame.

Metodo ICorDebugILFrame::GetArgument

Ottiene il valore dell'argomento specificato in questo stack frame MSIL.

Metodo ICorDebugILFrame::GetIP

Ottiene il valore del puntatore all'istruzione e del valore della combinazione bit per bit che descrive come è stato ottenuto il valore del puntatore all'istruzione.

Metodo ICorDebugILFrame::GetLocalVariable

Ottiene il valore della variabile locale specificata in questo stack frame MSIL.

Metodo ICorDebugILFrame::GetStackDepth

Non implementato.

Metodo ICorDebugILFrame::GetStackValue

Non implementato.

Metodo ICorDebugILFrame::SetIP

Imposta il puntatore all'istruzione sulla posizione di offset specificata nel codice MSIL.

Note

L'interfaccia ICorDebugILFrame è un'interfaccia ICorDebugFrame specializzata. Viene utilizzata per i frame di codice MSIL o per i frame compilati tramite JIT. I frame compilati tramite JIT implementano sia l'interfaccia ICorDebugILFrame che l'interfaccia ICorDebugNativeFrame.

Requisiti

Piattaforme: vedere Requisiti di sistema di .NET Framework.

Intestazione: CorDebug.idl

Libreria: CorGuids.lib

Versioni di .NET Framework: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

Vedere anche

Riferimenti

ICorDebugFrame

ICorDebugILFrame2

Altre risorse

Interfacce di debug