Compartilhar via


ICorDebugFrame Interface

Represents a frame on the current stack.

interface ICorDebugFrame : IUnknown {
        
    HRESULT CreateStepper (
        [out] ICorDebugStepper   **ppStepper
    );
        
    HRESULT GetCallee (
        [out] ICorDebugFrame     **ppFrame
    );
        
    HRESULT GetCaller(
        [out] ICorDebugFrame     **ppFrame
    );
        
    HRESULT GetChain (
        [out] ICorDebugChain     **ppChain
    );
        
    HRESULT GetCode (
        [out] ICorDebugCode      **ppCode
    );
        
    HRESULT GetFunction (
        [out] ICorDebugFunction  **ppFunction
    );
        
    HRESULT GetFunctionToken (
        [out] mdMethodDef        *pToken
    );
        
    HRESULT GetStackRange (
        [out] CORDB_ADDRESS      *pStart, 
        [out] CORDB_ADDRESS      *pEnd
    );
        
};

Methods

Method

Description

ICorDebugFrame::CreateStepper Method

Gets an ICorDebugStepper to perform stepping operations relative to this ICorDebugFrame.

ICorDebugFrame::GetCallee Method

Gets a pointer to the ICorDebugFrame in the current chain that this frame called, or returns null if this is the innermost frame in the chain.

ICorDebugFrame::GetCaller Method

Gets a pointer to the ICorDebugFrame in the current chain that called this frame, or returns null if this is the outermost frame in the chain.

ICorDebugFrame::GetChain Method

Gets a pointer to the ICorDebugChain this ICorDebugFrame is a part of.

ICorDebugFrame::GetCode Method

Gets a pointer to the ICorDebugCode associated with this stack frame.

ICorDebugFrame::GetFunction Method

Gets a pointer to the ICorDebugFunction that contains the code associated with this stack frame.

ICorDebugFrame::GetFunctionToken Method

Gets the metadata token for the function that contains the code associated with this stack frame.

ICorDebugFrame::GetStackRange Method

Gets the absolute address range of the stack frame represented by this ICorDebugFrame.

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

Debugging Interfaces