Reference documentation and code samples for the Stackdriver Debugger V2 Client class StackFrame.
Represents a stack frame context.
Generated from protobuf message google.devtools.clouddebugger.v2.StackFrame
Namespace
Google \ Cloud \ Debugger \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ function |
string
Demangled function name at the call site. |
↳ location |
SourceLocation
Source location of the call site. |
↳ arguments |
array<Variable>
Set of arguments passed to this function. Note that this might not be populated for all stack frames. |
↳ locals |
array<Variable>
Set of local variables at the stack frame location. Note that this might not be populated for all stack frames. |
getFunction
Demangled function name at the call site.
| Returns | |
|---|---|
| Type | Description |
string |
|
setFunction
Demangled function name at the call site.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLocation
Source location of the call site.
| Returns | |
|---|---|
| Type | Description |
SourceLocation|null |
|
hasLocation
clearLocation
setLocation
Source location of the call site.
| Parameter | |
|---|---|
| Name | Description |
var |
SourceLocation
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getArguments
Set of arguments passed to this function.
Note that this might not be populated for all stack frames.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setArguments
Set of arguments passed to this function.
Note that this might not be populated for all stack frames.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Variable>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLocals
Set of local variables at the stack frame location.
Note that this might not be populated for all stack frames.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setLocals
Set of local variables at the stack frame location.
Note that this might not be populated for all stack frames.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Variable>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|