# Cloud Debugger V2 API - Class Google::Cloud::Debugger::V2::StackFrame (v0.6.0)

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

- [0.6.0 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Cloud-Debugger-V2-StackFrame)
- [0.5.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/0.5.0/Google-Cloud-Debugger-V2-StackFrame)
- [0.4.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/0.4.0/Google-Cloud-Debugger-V2-StackFrame)
- [0.3.5](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/0.3.5/Google-Cloud-Debugger-V2-StackFrame)
Reference documentation and code samples for the Cloud Debugger V2 API class Google::Cloud::Debugger::V2::StackFrame.

Represents a stack frame context.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #arguments

    def arguments() -> ::Array<::Google::Cloud::Debugger::V2::Variable>

**Returns**

- (::Array\<[::Google::Cloud::Debugger::V2::Variable](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Cloud-Debugger-V2-Variable)\>) --- Set of arguments passed to this function. Note that this might not be populated for all stack frames.

### #arguments=

    def arguments=(value) -> ::Array<::Google::Cloud::Debugger::V2::Variable>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Debugger::V2::Variable](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Cloud-Debugger-V2-Variable)\>) --- Set of arguments passed to this function. Note that this might not be populated for all stack frames.
**Returns**

- (::Array\<[::Google::Cloud::Debugger::V2::Variable](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Cloud-Debugger-V2-Variable)\>) --- Set of arguments passed to this function. Note that this might not be populated for all stack frames.

### #function

    def function() -> ::String

**Returns**

- (::String) --- Demangled function name at the call site.

### #function=

    def function=(value) -> ::String

**Parameter**

- **value** (::String) --- Demangled function name at the call site.
**Returns**

- (::String) --- Demangled function name at the call site.

### #locals

    def locals() -> ::Array<::Google::Cloud::Debugger::V2::Variable>

**Returns**

- (::Array\<[::Google::Cloud::Debugger::V2::Variable](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Cloud-Debugger-V2-Variable)\>) --- Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.

### #locals=

    def locals=(value) -> ::Array<::Google::Cloud::Debugger::V2::Variable>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Debugger::V2::Variable](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Cloud-Debugger-V2-Variable)\>) --- Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.
**Returns**

- (::Array\<[::Google::Cloud::Debugger::V2::Variable](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Cloud-Debugger-V2-Variable)\>) --- Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.

### #location

    def location() -> ::Google::Cloud::Debugger::V2::SourceLocation

**Returns**

- ([::Google::Cloud::Debugger::V2::SourceLocation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Cloud-Debugger-V2-SourceLocation)) --- Source location of the call site.

### #location=

    def location=(value) -> ::Google::Cloud::Debugger::V2::SourceLocation

**Parameter**

- **value** ([::Google::Cloud::Debugger::V2::SourceLocation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Cloud-Debugger-V2-SourceLocation)) --- Source location of the call site.
**Returns**

- ([::Google::Cloud::Debugger::V2::SourceLocation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Cloud-Debugger-V2-SourceLocation)) --- Source location of the call site.