Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

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.

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2015 Microsoft