This documentation is archived and is not being maintained.

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)

[GuidAttribute("FD76BAF1-20DF-4659-864F-E8AEB46139FB")]
public interface StackFrame2 : StackFrame

The StackFrame2 type exposes the following members.

  NameDescription
Public propertyArguments (Inherited from StackFrame.)
Public propertyArgumentsGets a collection of expressions that represent the arguments passed to this frame.
Public propertyArguments2Gets 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 propertyCollection (Inherited from StackFrame.)
Public propertyCollectionGets the collection that contains the object that supports this property or that is contained within this code construct.
Public propertyDepthGets the depth of the frame in the stack. A read-only property.
Public propertyDTE (Inherited from StackFrame.)
Public propertyDTEGets the top-level extensibility object.
Public propertyFileNameGets the complete file path to the source file that contains this stack frame. A read-only property.
Public propertyFunctionName (Inherited from StackFrame.)
Public propertyFunctionNameGets the function name of this stack frame.
Public propertyLanguage (Inherited from StackFrame.)
Public propertyLanguageGets the programming language associated with the stack frame.
Public propertyLineNumberGets the line number in the source file that contains this stack frame. A read-only property.
Public propertyLocals (Inherited from StackFrame.)
Public propertyLocalsGets a collection of expressions that represent the locals currently known by this frame.
Public propertyLocals2Gets 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 propertyModule (Inherited from StackFrame.)
Public propertyModuleGets the module name for this stack frame. A module is a group of functions.
Public propertyParent (Inherited from StackFrame.)
Public propertyParentGets the immediate parent object of a StackFrame object.
Public propertyReturnType (Inherited from StackFrame.)
Public propertyReturnTypeGets a string that contains the return type for the stack property.
Public propertyUserCodeGets a value indicating whether the frame is user code, also known as "My Code." A read-only property.
Top
Show: