Reference documentation and code samples for the Stackdriver Trace V2 Client class StackFrame.
Represents a single stack frame in a stack trace.
Generated from protobuf message google.devtools.cloudtrace.v2.StackTrace.StackFrame
Namespace
Google \ Cloud \ Trace \ V2 \ StackTraceMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ function_name
Google\Cloud\Trace\V2\TruncatableString
The fully-qualified name that uniquely identifies the function or method that is active in this frame (up to 1024 bytes).
↳ original_function_name
Google\Cloud\Trace\V2\TruncatableString
An un-mangled function name, if function_name
is mangled. To get information about name mangling, run this search
. The name can be fully-qualified (up to 1024 bytes).
↳ file_name
Google\Cloud\Trace\V2\TruncatableString
The name of the source file where the function call appears (up to 256 bytes).
↳ line_number
int|string
The line number in file_name
where the function call appears.
↳ column_number
int|string
The column number where the function call appears, if available. This is important in JavaScript because of its anonymous functions.
↳ load_module
↳ source_version
getFunctionName
The fully-qualified name that uniquely identifies the function or method that is active in this frame (up to 1024 bytes).
hasFunctionName
clearFunctionName
setFunctionName
The fully-qualified name that uniquely identifies the function or method that is active in this frame (up to 1024 bytes).
$this
getOriginalFunctionName
An un-mangled function name, if function_name
is mangled.
To get information about name mangling, run this search . The name can be fully-qualified (up to 1024 bytes).
hasOriginalFunctionName
clearOriginalFunctionName
setOriginalFunctionName
An un-mangled function name, if function_name
is mangled.
To get information about name mangling, run this search . The name can be fully-qualified (up to 1024 bytes).
$this
getFileName
The name of the source file where the function call appears (up to 256 bytes).
hasFileName
clearFileName
setFileName
The name of the source file where the function call appears (up to 256 bytes).
$this
getLineNumber
The line number in file_name
where the function call appears.
int|string
setLineNumber
The line number in file_name
where the function call appears.
var
int|string
$this
getColumnNumber
The column number where the function call appears, if available.
This is important in JavaScript because of its anonymous functions.
int|string
setColumnNumber
The column number where the function call appears, if available.
This is important in JavaScript because of its anonymous functions.
var
int|string
$this
getLoadModule
The binary module from where the code was loaded.
hasLoadModule
clearLoadModule
setLoadModule
The binary module from where the code was loaded.
$this
getSourceVersion
The version of the deployed source code (up to 128 bytes).
hasSourceVersion
clearSourceVersion
setSourceVersion
The version of the deployed source code (up to 128 bytes).
$this