Stackdriver Debugger V2 Client - Class StackFrame (1.8.7)

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 \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ function string

Demangled function name at the call site.

↳ location Google\Cloud\Debugger\V2\SourceLocation

Source location of the call site.

↳ arguments array<Google\Cloud\Debugger\V2\Variable>

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

↳ locals array<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.

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
Google\Cloud\Debugger\V2\SourceLocation|null

hasLocation

clearLocation

setLocation

Source location of the call site.

Parameter
Name Description
var Google\Cloud\Debugger\V2\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<Google\Cloud\Debugger\V2\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<Google\Cloud\Debugger\V2\Variable>
Returns
Type Description
$this