Class: Google::Apis::ClouddebuggerV2::StackFrame
- Inherits:
-
Object
- Object
- Google::Apis::ClouddebuggerV2::StackFrame
- Defined in:
- generated/google/apis/clouddebugger_v2/classes.rb,
generated/google/apis/clouddebugger_v2/representations.rb,
generated/google/apis/clouddebugger_v2/representations.rb
Overview
Represents a stack frame context.
Instance Attribute Summary collapse
-
#arguments ⇒ Array<Google::Apis::ClouddebuggerV2::Variable>
Set of arguments passed to this function.
-
#function ⇒ String
Demangled function name at the call site.
-
#locals ⇒ Array<Google::Apis::ClouddebuggerV2::Variable>
Set of local variables at the stack frame location.
-
#location ⇒ Google::Apis::ClouddebuggerV2::SourceLocation
Represents a location in the source code.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StackFrame
constructor
A new instance of StackFrame.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ StackFrame
Returns a new instance of StackFrame
253 254 255 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 253 def initialize(**args) update!(**args) end |
Instance Attribute Details
#arguments ⇒ Array<Google::Apis::ClouddebuggerV2::Variable>
Set of arguments passed to this function.
Note that this might not be populated for all stack frames.
Corresponds to the JSON property arguments
240 241 242 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 240 def arguments @arguments end |
#function ⇒ String
Demangled function name at the call site.
Corresponds to the JSON property function
234 235 236 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 234 def function @function end |
#locals ⇒ Array<Google::Apis::ClouddebuggerV2::Variable>
Set of local variables at the stack frame location.
Note that this might not be populated for all stack frames.
Corresponds to the JSON property locals
246 247 248 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 246 def locals @locals end |
#location ⇒ Google::Apis::ClouddebuggerV2::SourceLocation
Represents a location in the source code.
Corresponds to the JSON property location
251 252 253 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 251 def location @location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
258 259 260 261 262 263 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 258 def update!(**args) @function = args[:function] if args.key?(:function) @arguments = args[:arguments] if args.key?(:arguments) @locals = args[:locals] if args.key?(:locals) @location = args[:location] if args.key?(:location) end |