# Google Cloud Debugger v2 API - Class StackFrame (3.2.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [3.2.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.StackFrame)
- [3.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/3.1.0/Google.Cloud.Debugger.V2.StackFrame)
- [3.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/3.0.0/Google.Cloud.Debugger.V2.StackFrame)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/2.4.0/Google.Cloud.Debugger.V2.StackFrame)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/2.3.0/Google.Cloud.Debugger.V2.StackFrame)

    public sealed class StackFrame : IMessage<StackFrame>, IEquatable<StackFrame>, IDeepCloneable<StackFrame>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Debugger v2 API class StackFrame.

Represents a stack frame context.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> StackFrame

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[StackFrame](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.StackFrame), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[StackFrame](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.StackFrame), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[StackFrame](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.StackFrame), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Debugger.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2)

## Assembly

Google.Cloud.Debugger.V2.dll

## Constructors

### StackFrame()

    public StackFrame()

### StackFrame(StackFrame)

    public StackFrame(StackFrame other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.StackFrame` |

## Properties

### Arguments

    public RepeatedField<Variable> Arguments { get; }

Set of arguments passed to this function.
Note that this might not be populated for all stack frames.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.Variable` |   |

### Function

    public string Function { get; set; }

Demangled function name at the call site.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Locals

    public RepeatedField<Variable> Locals { get; }

Set of local variables at the stack frame location.
Note that this might not be populated for all stack frames.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.Variable` |   |

### Location

    public SourceLocation Location { get; set; }

Source location of the call site.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.SourceLocation` |   |