Stackdriver Debugger V2 Client - Class StackFrame (1.5.1)

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

hasLocation

clearLocation

setLocation

Source location of the call site.

Parameter
Name
Description
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

setArguments

Set of arguments passed to this function.

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

Parameter
Name
Description
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

setLocals

Set of local variables at the stack frame location.

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

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: