Partager via


StackFrame2 Interface

Definition

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.

public interface class StackFrame2 : EnvDTE::StackFrame
public interface class StackFrame2 : EnvDTE::StackFrame
__interface StackFrame2 : EnvDTE::StackFrame
[System.Runtime.InteropServices.Guid("FD76BAF1-20DF-4659-864F-E8AEB46139FB")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface StackFrame2 : EnvDTE.StackFrame
[<System.Runtime.InteropServices.Guid("FD76BAF1-20DF-4659-864F-E8AEB46139FB")>]
[<System.Runtime.InteropServices.TypeLibType(4160)>]
type StackFrame2 = interface
    interface StackFrame
Public Interface StackFrame2
Implements StackFrame
Attributes
Implements

Properties

Arguments

Gets a collection of expressions that represent the arguments passed to this frame.

Arguments2[Boolean]

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.

Collection

Gets the collection that contains the object that supports this property or that is contained within this code construct.

Depth

Gets the depth of the frame in the stack. A read-only property.

DTE

Gets the top-level extensibility object.

FileName

Gets the complete file path to the source file that contains this stack frame. A read-only property.

FunctionName

Gets the function name of this stack frame.

Language

Gets the programming language associated with the stack frame.

LineNumber

Gets the line number in the source file that contains this stack frame. A read-only property.

Locals

Gets a collection of expressions that represent the locals currently known by this frame.

Locals2[Boolean]

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.

Module

Gets the module name for this stack frame. A module is a group of functions.

Parent

Gets the immediate parent object of a StackFrame object.

ReturnType

Gets a string that contains the return type for the stack property.

UserCode

Gets a value indicating whether the frame is user code, also known as "My Code." A read-only property.

Applies to