Reference documentation and code samples for the Cloud Trace V2 API class Google::Cloud::Trace::V2::StackTrace::StackFrame.
Represents a single stack frame in a stack trace.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#column_number
def column_number() -> ::Integer
Returns
- (::Integer) — The column number where the function call appears, if available. This is important in JavaScript because of its anonymous functions.
#column_number=
def column_number=(value) -> ::Integer
Parameter
- value (::Integer) — The column number where the function call appears, if available. This is important in JavaScript because of its anonymous functions.
Returns
- (::Integer) — The column number where the function call appears, if available. This is important in JavaScript because of its anonymous functions.
#file_name
def file_name() -> ::Google::Cloud::Trace::V2::TruncatableString
Returns
- (::Google::Cloud::Trace::V2::TruncatableString) — The name of the source file where the function call appears (up to 256 bytes).
#file_name=
def file_name=(value) -> ::Google::Cloud::Trace::V2::TruncatableString
Parameter
- value (::Google::Cloud::Trace::V2::TruncatableString) — The name of the source file where the function call appears (up to 256 bytes).
Returns
- (::Google::Cloud::Trace::V2::TruncatableString) — The name of the source file where the function call appears (up to 256 bytes).
#function_name
def function_name() -> ::Google::Cloud::Trace::V2::TruncatableString
Returns
- (::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).
#function_name=
def function_name=(value) -> ::Google::Cloud::Trace::V2::TruncatableString
Parameter
- value (::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).
Returns
- (::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).
#line_number
def line_number() -> ::Integer
Returns
-
(::Integer) — The line number in
file_name
where the function call appears.
#line_number=
def line_number=(value) -> ::Integer
Parameter
-
value (::Integer) — The line number in
file_name
where the function call appears.
Returns
-
(::Integer) — The line number in
file_name
where the function call appears.
#load_module
def load_module() -> ::Google::Cloud::Trace::V2::Module
Returns
- (::Google::Cloud::Trace::V2::Module) — The binary module from where the code was loaded.
#load_module=
def load_module=(value) -> ::Google::Cloud::Trace::V2::Module
Parameter
- value (::Google::Cloud::Trace::V2::Module) — The binary module from where the code was loaded.
Returns
- (::Google::Cloud::Trace::V2::Module) — The binary module from where the code was loaded.
#original_function_name
def original_function_name() -> ::Google::Cloud::Trace::V2::TruncatableString
Returns
-
(::Google::Cloud::Trace::V2::TruncatableString) — An un-mangled function name, if
function_name
is mangled. The name can be fully-qualified (up to 1024 bytes).
#original_function_name=
def original_function_name=(value) -> ::Google::Cloud::Trace::V2::TruncatableString
Parameter
-
value (::Google::Cloud::Trace::V2::TruncatableString) — An un-mangled function name, if
function_name
is mangled. The name can be fully-qualified (up to 1024 bytes).
Returns
-
(::Google::Cloud::Trace::V2::TruncatableString) — An un-mangled function name, if
function_name
is mangled. The name can be fully-qualified (up to 1024 bytes).
#source_version
def source_version() -> ::Google::Cloud::Trace::V2::TruncatableString
Returns
- (::Google::Cloud::Trace::V2::TruncatableString) — The version of the deployed source code (up to 128 bytes).
#source_version=
def source_version=(value) -> ::Google::Cloud::Trace::V2::TruncatableString
Parameter
- value (::Google::Cloud::Trace::V2::TruncatableString) — The version of the deployed source code (up to 128 bytes).
Returns
- (::Google::Cloud::Trace::V2::TruncatableString) — The version of the deployed source code (up to 128 bytes).