Compartir a través de


FRAMEINFO

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Describes a stack frame.

Syntax

typedef struct tagFRAMEINFO {
    FRAMEINFO_FLAGS    m_dwValidFields;
    BSTR               m_bstrFuncName;
    BSTR               m_bstrReturnType;
    BSTR               m_bstrArgs;
    BSTR               m_bstrLanguage;
    BSTR               m_bstrModule;
    UINT64             m_addrMin;
    UINT64             m_addrMax;
    IDebugStackFrame2* m_pFrame;
    IDebugModule2*     m_pModule;
    BOOL               m_fHasDebugInfo;
    BOOL               m_fStaleCode;
    BOOL               m_fAnnotatedFrame;
} FRAMEINFO;
public struct FRAMEINFO {
    public uint              m_dwValidFields;
    public string            m_bstrFuncName;
    public string            m_bstrReturnType;
    public string            m_bstrArgs;
    public string            m_bstrLanguage;
    public string            m_bstrModule;
    public ulong             m_addrMin;
    public ulong             m_addrMax;
    public IDebugStackFrame2 m_pFrame;
    public IDebugModule2     m_pModule;
    public int               m_fHasDebugInfo;
    public int               m_fStaleCode;
    public int               m_fAnnotatedFrame;
} FRAMEINFO;

Members

m_dwValidFields
A combination of flags from the FRAMEINFO_FLAGS enumeration that specifies which fields are filled in.

m_bstrFuncName
The function name associated with the stack frame.

m_bstrReturnType
The return type associated with the stack frame.

m_bstrArgs
The arguments to the function associated with the stack frame.

m_bstrLanguage
The language in which the function is implemented.

m_bstrModule
The module name associated with the stack frame.

m_addrMin
The minimum physical stack address.

m_addrMAX
The maximum physical stack address.

m_pFrame
The IDebugStackFrame2 object that represents this stack frame.

m_pModule
The IDebugModule2 object that represents the module that contains this stack frame.

m_fHasDebugInfo
Non-zero (TRUE) if debug information exists in the given frame.

m_fStaleCode
Non-zero (TRUE) if the stack frame is associated with code that is no longer valid.

m_fAnnotatedFrame
Non-zero (TRUE) if the stack frame is annotated by the session debug manager (SDM).

Remarks

This structure is passed to the GetInfo method to be filled in. This structure is also contained in a list that is contained in the IEnumDebugFrameInfo2 interface which, in turn, is returned from a call to the EnumFrameInfo method.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also