Stackdriver Debugger V2 Client - Class StackFrame (1.6.4)

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
NameDescription
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
TypeDescription
string

setFunction

Demangled function name at the call site.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLocation

Source location of the call site.

Returns
TypeDescription
Google\Cloud\Debugger\V2\SourceLocation|null

hasLocation

clearLocation

setLocation

Source location of the call site.

Parameter
NameDescription
var Google\Cloud\Debugger\V2\SourceLocation
Returns
TypeDescription
$this

getArguments

Set of arguments passed to this function.

Note that this might not be populated for all stack frames.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setArguments

Set of arguments passed to this function.

Note that this might not be populated for all stack frames.

Parameter
NameDescription
var array<Google\Cloud\Debugger\V2\Variable>
Returns
TypeDescription
$this

getLocals

Set of local variables at the stack frame location.

Note that this might not be populated for all stack frames.

Returns
TypeDescription
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
NameDescription
var array<Google\Cloud\Debugger\V2\Variable>
Returns
TypeDescription
$this