Поделиться через


StackFrame2 Interface

The StackFrame2 object is used to examine and control stack frames. A stack frame is essentially the same as a function call. To use Debugger4, you must add a reference to EnvDTE90a.dll. For native development, you must add a reference to dte90a.tlb.

Namespace:  EnvDTE90a
Assembly:  EnvDTE90a (in EnvDTE90a.dll)

Syntax

'Declaration
<GuidAttribute("FD76BAF1-20DF-4659-864F-E8AEB46139FB")> _
Public Interface StackFrame2 _
    Inherits StackFrame
[GuidAttribute("FD76BAF1-20DF-4659-864F-E8AEB46139FB")]
public interface StackFrame2 : StackFrame
[GuidAttribute(L"FD76BAF1-20DF-4659-864F-E8AEB46139FB")]
public interface class StackFrame2 : StackFrame
[<GuidAttribute("FD76BAF1-20DF-4659-864F-E8AEB46139FB")>]
type StackFrame2 =  
    interface
        interface StackFrame
    end
public interface StackFrame2 extends StackFrame

The StackFrame2 type exposes the following members.

Properties

  Name Description
Public property Arguments (Inherited from StackFrame.)
Public property Arguments Gets a collection of expressions that represent the arguments passed to this frame.
Public property Arguments2 Gets a collection of expressions that represent the arguments passed to this frame. Allows caller to specify whether properties and implicit function calls should be automatically evaluated.
Public property Collection (Inherited from StackFrame.)
Public property Collection Gets the collection that contains the object that supports this property or that is contained within this code construct.
Public property Depth Gets the depth of the frame in the stack. A read-only property.
Public property DTE (Inherited from StackFrame.)
Public property DTE Gets the top-level extensibility object.
Public property FileName Gets the complete file path to the source file that contains this stack frame. A read-only property.
Public property FunctionName (Inherited from StackFrame.)
Public property FunctionName Gets the function name of this stack frame.
Public property Language (Inherited from StackFrame.)
Public property Language Gets the programming language associated with the stack frame.
Public property LineNumber Gets the line number in the source file that contains this stack frame. A read-only property.
Public property Locals (Inherited from StackFrame.)
Public property Locals Gets a collection of expressions that represent the locals currently known by this frame.
Public property Locals2 Gets a collection of expressions that represent the locals currently known by this frame. Similar to Locals, but allows the caller to specify whether automatic evaluation of properties and implicit function calls should be performed.
Public property Module (Inherited from StackFrame.)
Public property Module Gets the module name for this stack frame. A module is a group of functions.
Public property Parent (Inherited from StackFrame.)
Public property Parent Gets the immediate parent object of a StackFrame object.
Public property ReturnType (Inherited from StackFrame.)
Public property ReturnType Gets a string that contains the return type for the stack property.
Public property UserCode Gets a value indicating whether the frame is user code, also known as "My Code." A read-only property.

Top

See Also

Reference

EnvDTE90a Namespace

StackFrames

Other Resources

Automation Object Model Chart

How to: Use the Call Stack Window