google-cloud-debugger - Class Google::Cloud::Debugger::Snappoint (v0.42.2)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the google-cloud-debugger class Google::Cloud::Debugger::Snappoint.
Snappoint
A kind of Breakpoint that can be evaluated
to capture the state of the program at time of evaluation. This is
essentially a Breakpoint with action attrubte
set to :CAPTURE
Evaluate the breakpoint unless it's already marked as completed.
Store evaluted expressions and stack frame variables in
@evaluated_expressions, @stack_frames. Mark breakpoint complete if
successfully evaluated.
Parameter
call_stack_bindings (Array<Binding>) — An array of Ruby Binding
objects, from the call stack that leads to the triggering of the
breakpoints.
Returns
(Boolean) — True if evaluated successfully; false otherwise.
Constants
STACK_EVAL_DEPTH
value: 5 Max number of top stacks to collect local variables information
MAX_PAYLOAD_SIZE
value: 32_768 Max size of payload a Snappoint collects
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-13 UTC."],[],[]]