blob: 5c50b3189b80fa0a0ca07c6623c56fabf9e626e3 [file] [log] [blame]
Takashi Matsuo06694102015-09-11 13:55:40 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
Dan O'Mearadd494642020-05-01 07:42:23 -070075<h1><a href="clouddebugger_v2.html">Cloud Debugger API</a> . <a href="clouddebugger_v2.controller.html">controller</a> . <a href="clouddebugger_v2.controller.debuggees.html">debuggees</a> . <a href="clouddebugger_v2.controller.debuggees.breakpoints.html">breakpoints</a></h1>
Takashi Matsuo06694102015-09-11 13:55:40 -070076<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070078 <code><a href="#list">list(debuggeeId, agentId=None, waitToken=None, successOnTimeout=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040079<p class="firstline">Returns the list of all active breakpoints for the debuggee.</p>
Takashi Matsuo06694102015-09-11 13:55:40 -070080<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070081 <code><a href="#update">update(debuggeeId, id, body=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040082<p class="firstline">Updates the breakpoint state or mutable fields.</p>
Takashi Matsuo06694102015-09-11 13:55:40 -070083<h3>Method Details</h3>
84<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070085 <code class="details" id="list">list(debuggeeId, agentId=None, waitToken=None, successOnTimeout=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040086 <pre>Returns the list of all active breakpoints for the debuggee.
87
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070088The breakpoint specification (`location`, `condition`, and `expressions`
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040089fields) is semantically immutable, although the field values may
90change. For example, an agent may update the location line number
91to reflect the actual line where the breakpoint was set, but this
Bu Sun Kim65020912020-05-20 12:08:20 -070092doesn&#x27;t change the breakpoint semantics.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040093
94This means that an agent does not need to check if a breakpoint has changed
95when it encounters the same breakpoint on a successive call.
96Moreover, an agent should remember the breakpoints that are completed
97until the controller removes them from the active list to avoid
98setting those breakpoints again.
Takashi Matsuo06694102015-09-11 13:55:40 -070099
100Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700101 debuggeeId: string, Required. Identifies the debuggee. (required)
102 agentId: string, Identifies the agent.
103This is the ID returned in the RegisterDebuggee response.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700104 waitToken: string, A token that, if specified, blocks the method call until the list
105of active breakpoints has changed, or a server-selected timeout has
106expired. The value should be set from the `next_wait_token` field in
107the last response. The initial value should be set to `&quot;init&quot;`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700108 successOnTimeout: boolean, If set to `true` (recommended), returns `google.rpc.Code.OK` status and
109sets the `wait_expired` response field to `true` when the server-selected
110timeout has expired.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400111
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700112If set to `false` (deprecated), returns `google.rpc.Code.ABORTED` status
113when the server-selected timeout has expired.
Takashi Matsuo06694102015-09-11 13:55:40 -0700114 x__xgafv: string, V1 error format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400115 Allowed values
116 1 - v1 error format
117 2 - v2 error format
Takashi Matsuo06694102015-09-11 13:55:40 -0700118
119Returns:
120 An object of the form:
121
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800122 { # Response for listing active breakpoints.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700123 &quot;nextWaitToken&quot;: &quot;A String&quot;, # A token that can be used in the next method call to block until
124 # the list of breakpoints changes.
Bu Sun Kim65020912020-05-20 12:08:20 -0700125 &quot;breakpoints&quot;: [ # List of all active breakpoints.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400126 # The fields `id` and `location` are guaranteed to be set on each breakpoint.
Dan O'Mearadd494642020-05-01 07:42:23 -0700127 { # ------------------------------------------------------------------------------
128 # ## Breakpoint (the resource)
129 #
130 # Represents the breakpoint specification, status and results.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700131 &quot;evaluatedExpressions&quot;: [ # Values of evaluated expressions at breakpoint time.
132 # The evaluated expressions appear in exactly the same order they
133 # are listed in the `expressions` field.
134 # The `name` field holds the original expression text, the `value` or
135 # `members` field holds the result of the evaluated expression.
136 # If the expression cannot be evaluated, the `status` inside the `Variable`
137 # will indicate an error and contain the error text.
138 { # Represents a variable or an argument possibly of a compound object type.
139 # Note how the following variables are represented:
140 #
141 # 1) A simple variable:
142 #
143 # int x = 5
144 #
145 # { name: &quot;x&quot;, value: &quot;5&quot;, type: &quot;int&quot; } // Captured variable
146 #
147 # 2) A compound object:
148 #
149 # struct T {
150 # int m1;
151 # int m2;
152 # };
153 # T x = { 3, 7 };
154 #
155 # { // Captured variable
156 # name: &quot;x&quot;,
157 # type: &quot;T&quot;,
158 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
159 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
160 # }
161 #
162 # 3) A pointer where the pointee was captured:
163 #
164 # T x = { 3, 7 };
165 # T* p = &amp;x;
166 #
167 # { // Captured variable
168 # name: &quot;p&quot;,
169 # type: &quot;T*&quot;,
170 # value: &quot;0x00500500&quot;,
171 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
172 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
173 # }
174 #
175 # 4) A pointer where the pointee was not captured:
176 #
177 # T* p = new T;
178 #
179 # { // Captured variable
180 # name: &quot;p&quot;,
181 # type: &quot;T*&quot;,
182 # value: &quot;0x00400400&quot;
183 # status { is_error: true, description { format: &quot;unavailable&quot; } }
184 # }
185 #
186 # The status should describe the reason for the missing value,
187 # such as `&lt;optimized out&gt;`, `&lt;inaccessible&gt;`, `&lt;pointers limit reached&gt;`.
188 #
189 # Note that a null pointer should not have members.
190 #
191 # 5) An unnamed value:
192 #
193 # int* p = new int(7);
194 #
195 # { // Captured variable
196 # name: &quot;p&quot;,
197 # value: &quot;0x00500500&quot;,
198 # type: &quot;int*&quot;,
199 # members { value: &quot;7&quot;, type: &quot;int&quot; } }
200 #
201 # 6) An unnamed pointer where the pointee was not captured:
202 #
203 # int* p = new int(7);
204 # int** pp = &amp;p;
205 #
206 # { // Captured variable
207 # name: &quot;pp&quot;,
208 # value: &quot;0x00500500&quot;,
209 # type: &quot;int**&quot;,
210 # members {
211 # value: &quot;0x00400400&quot;,
212 # type: &quot;int*&quot;
213 # status {
214 # is_error: true,
215 # description: { format: &quot;unavailable&quot; } }
216 # }
217 # }
218 # }
219 #
220 # To optimize computation, memory and network traffic, variables that
221 # repeat in the output multiple times can be stored once in a shared
222 # variable table and be referenced using the `var_table_index` field. The
223 # variables stored in the shared table are nameless and are essentially
224 # a partition of the complete variable. To reconstruct the complete
225 # variable, merge the referencing variable with the referenced variable.
226 #
227 # When using the shared variable table, the following variables:
228 #
229 # T x = { 3, 7 };
230 # T* p = &amp;x;
231 # T&amp; r = x;
232 #
233 # { name: &quot;x&quot;, var_table_index: 3, type: &quot;T&quot; } // Captured variables
234 # { name: &quot;p&quot;, value &quot;0x00500500&quot;, type=&quot;T*&quot;, var_table_index: 3 }
235 # { name: &quot;r&quot;, type=&quot;T&amp;&quot;, var_table_index: 3 }
236 #
237 # { // Shared variable table entry #3:
238 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
239 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
240 # }
241 #
242 # Note that the pointer address is stored with the referencing variable
243 # and not with the referenced variable. This allows the referenced variable
244 # to be shared between pointers and references.
245 #
246 # The type field is optional. The debugger agent may or may not support it.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700247 &quot;status&quot;: { # Represents a contextual status message. # Status associated with the variable. This field will usually stay
248 # unset. A status of a single variable only applies to that variable or
249 # expression. The rest of breakpoint data still remains valid. Variables
250 # might be reported in error state even when breakpoint is not in final
251 # state.
252 #
253 # The message may refer to variable name with `refers_to` set to
254 # `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.
255 # In either case variable value and members will be unset.
256 #
257 # Example of error message applied to name: `Invalid expression syntax`.
258 #
259 # Example of information message applied to value: `Not captured`.
260 #
261 # Examples of error message applied to value:
262 #
263 # * `Malformed string`,
264 # * `Field f not found in class C`
265 # * `Null pointer dereference`
266 # The message can indicate an error or informational status, and refer to
267 # specific parts of the containing object.
268 # For example, the `Breakpoint.status` field can indicate an error referring
269 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
270 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
271 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
272 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
273 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
274 # character.
275 #
276 # Examples:
277 #
278 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
279 # is loaded. Again, $0 is very important.`
280 # * `Please pay $$10 to use $0 instead of $1.`
281 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
282 &quot;A String&quot;,
283 ],
284 },
285 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
286 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700287 &quot;value&quot;: &quot;A String&quot;, # Simple value of the variable.
288 &quot;members&quot;: [ # Members contained or pointed to by the variable.
289 # Object with schema name: Variable
290 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700291 &quot;type&quot;: &quot;A String&quot;, # Variable type (e.g. `MyClass`). If the variable is split with
292 # `var_table_index`, `type` goes next to `value`. The interpretation of
293 # a type is agent specific. It is recommended to include the dynamic type
294 # rather than a static type of an object.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700295 &quot;name&quot;: &quot;A String&quot;, # Name of the variable, if any.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700296 &quot;varTableIndex&quot;: 42, # Reference to a variable in the shared variable table. More than
297 # one variable can reference the same variable in the table. The
298 # `var_table_index` field is an index into `variable_table` in Breakpoint.
299 },
300 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700301 &quot;canaryExpireTime&quot;: &quot;A String&quot;, # The deadline for the breakpoint to stay in CANARY_ACTIVE state. The value
302 # is meaningless when the breakpoint is not in CANARY_ACTIVE state.
303 &quot;status&quot;: { # Represents a contextual status message. # Breakpoint status.
304 #
305 # The status includes an error flag and a human readable message.
306 # This field is usually unset. The message can be either
307 # informational or an error message. Regardless, clients should always
308 # display the text message back to the user.
309 #
310 # Error status indicates complete failure of the breakpoint.
311 #
312 # Example (non-final state): `Still loading symbols...`
313 #
314 # Examples (final state):
315 #
316 # * `Invalid line number` referring to location
317 # * `Field f not found in class C` referring to condition
318 # The message can indicate an error or informational status, and refer to
319 # specific parts of the containing object.
320 # For example, the `Breakpoint.status` field can indicate an error referring
321 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
322 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
323 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
324 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
325 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
326 # character.
327 #
328 # Examples:
329 #
330 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
331 # is loaded. Again, $0 is very important.`
332 # * `Please pay $$10 to use $0 instead of $1.`
333 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
334 &quot;A String&quot;,
335 ],
336 },
337 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
338 },
339 &quot;expressions&quot;: [ # List of read-only expressions to evaluate at the breakpoint location.
340 # The expressions are composed using expressions in the programming language
341 # at the source location. If the breakpoint action is `LOG`, the evaluated
342 # expressions are included in log statements.
343 &quot;A String&quot;,
344 ],
345 &quot;labels&quot;: { # A set of custom breakpoint properties, populated by the agent, to be
346 # displayed to the user.
347 &quot;a_key&quot;: &quot;A String&quot;,
348 },
349 &quot;logMessageFormat&quot;: &quot;A String&quot;, # Only relevant when action is `LOG`. Defines the message to log when
350 # the breakpoint hits. The message may include parameter placeholders `$0`,
351 # `$1`, etc. These placeholders are replaced with the evaluated value
352 # of the appropriate expression. Expressions not referenced in
353 # `log_message_format` are not logged.
354 #
355 # Example: `Message received, id = $0, count = $1` with
356 # `expressions` = `[ message.id, message.count ]`.
357 &quot;createTime&quot;: &quot;A String&quot;, # Time this breakpoint was created by the server in seconds resolution.
358 &quot;location&quot;: { # Represents a location in the source code. # Breakpoint source location.
359 &quot;path&quot;: &quot;A String&quot;, # Path to the source file within the source context of the target binary.
360 &quot;line&quot;: 42, # Line inside the file. The first line in the file has the value `1`.
361 &quot;column&quot;: 42, # Column within a line. The first column in a line as the value `1`.
362 # Agents that do not support setting breakpoints on specific columns ignore
363 # this field.
364 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700365 &quot;isFinalState&quot;: True or False, # When true, indicates that this is a final result and the
366 # breakpoint state will not change from here on.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700367 &quot;logLevel&quot;: &quot;A String&quot;, # Indicates the severity of the log. Only relevant when action is `LOG`.
368 &quot;id&quot;: &quot;A String&quot;, # Breakpoint identifier, unique in the scope of the debuggee.
369 &quot;action&quot;: &quot;A String&quot;, # Action that the agent should perform when the code at the
370 # breakpoint location is hit.
371 &quot;finalTime&quot;: &quot;A String&quot;, # Time this breakpoint was finalized as seen by the server in seconds
372 # resolution.
373 &quot;state&quot;: &quot;A String&quot;, # The current state of the breakpoint.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700374 &quot;stackFrames&quot;: [ # The stack at breakpoint time, where stack_frames[0] represents the most
375 # recently entered function.
376 { # Represents a stack frame context.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700377 &quot;function&quot;: &quot;A String&quot;, # Demangled function name at the call site.
378 &quot;arguments&quot;: [ # Set of arguments passed to this function.
379 # Note that this might not be populated for all stack frames.
380 { # Represents a variable or an argument possibly of a compound object type.
381 # Note how the following variables are represented:
382 #
383 # 1) A simple variable:
384 #
385 # int x = 5
386 #
387 # { name: &quot;x&quot;, value: &quot;5&quot;, type: &quot;int&quot; } // Captured variable
388 #
389 # 2) A compound object:
390 #
391 # struct T {
392 # int m1;
393 # int m2;
394 # };
395 # T x = { 3, 7 };
396 #
397 # { // Captured variable
398 # name: &quot;x&quot;,
399 # type: &quot;T&quot;,
400 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
401 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
402 # }
403 #
404 # 3) A pointer where the pointee was captured:
405 #
406 # T x = { 3, 7 };
407 # T* p = &amp;x;
408 #
409 # { // Captured variable
410 # name: &quot;p&quot;,
411 # type: &quot;T*&quot;,
412 # value: &quot;0x00500500&quot;,
413 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
414 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
415 # }
416 #
417 # 4) A pointer where the pointee was not captured:
418 #
419 # T* p = new T;
420 #
421 # { // Captured variable
422 # name: &quot;p&quot;,
423 # type: &quot;T*&quot;,
424 # value: &quot;0x00400400&quot;
425 # status { is_error: true, description { format: &quot;unavailable&quot; } }
426 # }
427 #
428 # The status should describe the reason for the missing value,
429 # such as `&lt;optimized out&gt;`, `&lt;inaccessible&gt;`, `&lt;pointers limit reached&gt;`.
430 #
431 # Note that a null pointer should not have members.
432 #
433 # 5) An unnamed value:
434 #
435 # int* p = new int(7);
436 #
437 # { // Captured variable
438 # name: &quot;p&quot;,
439 # value: &quot;0x00500500&quot;,
440 # type: &quot;int*&quot;,
441 # members { value: &quot;7&quot;, type: &quot;int&quot; } }
442 #
443 # 6) An unnamed pointer where the pointee was not captured:
444 #
445 # int* p = new int(7);
446 # int** pp = &amp;p;
447 #
448 # { // Captured variable
449 # name: &quot;pp&quot;,
450 # value: &quot;0x00500500&quot;,
451 # type: &quot;int**&quot;,
452 # members {
453 # value: &quot;0x00400400&quot;,
454 # type: &quot;int*&quot;
455 # status {
456 # is_error: true,
457 # description: { format: &quot;unavailable&quot; } }
458 # }
459 # }
460 # }
461 #
462 # To optimize computation, memory and network traffic, variables that
463 # repeat in the output multiple times can be stored once in a shared
464 # variable table and be referenced using the `var_table_index` field. The
465 # variables stored in the shared table are nameless and are essentially
466 # a partition of the complete variable. To reconstruct the complete
467 # variable, merge the referencing variable with the referenced variable.
468 #
469 # When using the shared variable table, the following variables:
470 #
471 # T x = { 3, 7 };
472 # T* p = &amp;x;
473 # T&amp; r = x;
474 #
475 # { name: &quot;x&quot;, var_table_index: 3, type: &quot;T&quot; } // Captured variables
476 # { name: &quot;p&quot;, value &quot;0x00500500&quot;, type=&quot;T*&quot;, var_table_index: 3 }
477 # { name: &quot;r&quot;, type=&quot;T&amp;&quot;, var_table_index: 3 }
478 #
479 # { // Shared variable table entry #3:
480 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
481 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
482 # }
483 #
484 # Note that the pointer address is stored with the referencing variable
485 # and not with the referenced variable. This allows the referenced variable
486 # to be shared between pointers and references.
487 #
488 # The type field is optional. The debugger agent may or may not support it.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700489 &quot;status&quot;: { # Represents a contextual status message. # Status associated with the variable. This field will usually stay
490 # unset. A status of a single variable only applies to that variable or
491 # expression. The rest of breakpoint data still remains valid. Variables
492 # might be reported in error state even when breakpoint is not in final
493 # state.
494 #
495 # The message may refer to variable name with `refers_to` set to
496 # `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.
497 # In either case variable value and members will be unset.
498 #
499 # Example of error message applied to name: `Invalid expression syntax`.
500 #
501 # Example of information message applied to value: `Not captured`.
502 #
503 # Examples of error message applied to value:
504 #
505 # * `Malformed string`,
506 # * `Field f not found in class C`
507 # * `Null pointer dereference`
508 # The message can indicate an error or informational status, and refer to
509 # specific parts of the containing object.
510 # For example, the `Breakpoint.status` field can indicate an error referring
511 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
512 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
513 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
514 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
515 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
516 # character.
517 #
518 # Examples:
519 #
520 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
521 # is loaded. Again, $0 is very important.`
522 # * `Please pay $$10 to use $0 instead of $1.`
523 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
524 &quot;A String&quot;,
525 ],
526 },
527 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
528 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700529 &quot;value&quot;: &quot;A String&quot;, # Simple value of the variable.
530 &quot;members&quot;: [ # Members contained or pointed to by the variable.
531 # Object with schema name: Variable
532 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700533 &quot;type&quot;: &quot;A String&quot;, # Variable type (e.g. `MyClass`). If the variable is split with
534 # `var_table_index`, `type` goes next to `value`. The interpretation of
535 # a type is agent specific. It is recommended to include the dynamic type
536 # rather than a static type of an object.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700537 &quot;name&quot;: &quot;A String&quot;, # Name of the variable, if any.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700538 &quot;varTableIndex&quot;: 42, # Reference to a variable in the shared variable table. More than
539 # one variable can reference the same variable in the table. The
540 # `var_table_index` field is an index into `variable_table` in Breakpoint.
541 },
542 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700543 &quot;locals&quot;: [ # Set of local variables at the stack frame location.
544 # Note that this might not be populated for all stack frames.
545 { # Represents a variable or an argument possibly of a compound object type.
546 # Note how the following variables are represented:
547 #
548 # 1) A simple variable:
549 #
550 # int x = 5
551 #
552 # { name: &quot;x&quot;, value: &quot;5&quot;, type: &quot;int&quot; } // Captured variable
553 #
554 # 2) A compound object:
555 #
556 # struct T {
557 # int m1;
558 # int m2;
559 # };
560 # T x = { 3, 7 };
561 #
562 # { // Captured variable
563 # name: &quot;x&quot;,
564 # type: &quot;T&quot;,
565 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
566 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
567 # }
568 #
569 # 3) A pointer where the pointee was captured:
570 #
571 # T x = { 3, 7 };
572 # T* p = &amp;x;
573 #
574 # { // Captured variable
575 # name: &quot;p&quot;,
576 # type: &quot;T*&quot;,
577 # value: &quot;0x00500500&quot;,
578 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
579 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
580 # }
581 #
582 # 4) A pointer where the pointee was not captured:
583 #
584 # T* p = new T;
585 #
586 # { // Captured variable
587 # name: &quot;p&quot;,
588 # type: &quot;T*&quot;,
589 # value: &quot;0x00400400&quot;
590 # status { is_error: true, description { format: &quot;unavailable&quot; } }
591 # }
592 #
593 # The status should describe the reason for the missing value,
594 # such as `&lt;optimized out&gt;`, `&lt;inaccessible&gt;`, `&lt;pointers limit reached&gt;`.
595 #
596 # Note that a null pointer should not have members.
597 #
598 # 5) An unnamed value:
599 #
600 # int* p = new int(7);
601 #
602 # { // Captured variable
603 # name: &quot;p&quot;,
604 # value: &quot;0x00500500&quot;,
605 # type: &quot;int*&quot;,
606 # members { value: &quot;7&quot;, type: &quot;int&quot; } }
607 #
608 # 6) An unnamed pointer where the pointee was not captured:
609 #
610 # int* p = new int(7);
611 # int** pp = &amp;p;
612 #
613 # { // Captured variable
614 # name: &quot;pp&quot;,
615 # value: &quot;0x00500500&quot;,
616 # type: &quot;int**&quot;,
617 # members {
618 # value: &quot;0x00400400&quot;,
619 # type: &quot;int*&quot;
620 # status {
621 # is_error: true,
622 # description: { format: &quot;unavailable&quot; } }
623 # }
624 # }
625 # }
626 #
627 # To optimize computation, memory and network traffic, variables that
628 # repeat in the output multiple times can be stored once in a shared
629 # variable table and be referenced using the `var_table_index` field. The
630 # variables stored in the shared table are nameless and are essentially
631 # a partition of the complete variable. To reconstruct the complete
632 # variable, merge the referencing variable with the referenced variable.
633 #
634 # When using the shared variable table, the following variables:
635 #
636 # T x = { 3, 7 };
637 # T* p = &amp;x;
638 # T&amp; r = x;
639 #
640 # { name: &quot;x&quot;, var_table_index: 3, type: &quot;T&quot; } // Captured variables
641 # { name: &quot;p&quot;, value &quot;0x00500500&quot;, type=&quot;T*&quot;, var_table_index: 3 }
642 # { name: &quot;r&quot;, type=&quot;T&amp;&quot;, var_table_index: 3 }
643 #
644 # { // Shared variable table entry #3:
645 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
646 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
647 # }
648 #
649 # Note that the pointer address is stored with the referencing variable
650 # and not with the referenced variable. This allows the referenced variable
651 # to be shared between pointers and references.
652 #
653 # The type field is optional. The debugger agent may or may not support it.
654 &quot;status&quot;: { # Represents a contextual status message. # Status associated with the variable. This field will usually stay
655 # unset. A status of a single variable only applies to that variable or
656 # expression. The rest of breakpoint data still remains valid. Variables
657 # might be reported in error state even when breakpoint is not in final
658 # state.
659 #
660 # The message may refer to variable name with `refers_to` set to
661 # `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.
662 # In either case variable value and members will be unset.
663 #
664 # Example of error message applied to name: `Invalid expression syntax`.
665 #
666 # Example of information message applied to value: `Not captured`.
667 #
668 # Examples of error message applied to value:
669 #
670 # * `Malformed string`,
671 # * `Field f not found in class C`
672 # * `Null pointer dereference`
673 # The message can indicate an error or informational status, and refer to
674 # specific parts of the containing object.
675 # For example, the `Breakpoint.status` field can indicate an error referring
676 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
677 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
678 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
679 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
680 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
681 # character.
682 #
683 # Examples:
684 #
685 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
686 # is loaded. Again, $0 is very important.`
687 # * `Please pay $$10 to use $0 instead of $1.`
688 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
689 &quot;A String&quot;,
690 ],
691 },
692 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
693 },
694 &quot;value&quot;: &quot;A String&quot;, # Simple value of the variable.
695 &quot;members&quot;: [ # Members contained or pointed to by the variable.
696 # Object with schema name: Variable
697 ],
698 &quot;type&quot;: &quot;A String&quot;, # Variable type (e.g. `MyClass`). If the variable is split with
699 # `var_table_index`, `type` goes next to `value`. The interpretation of
700 # a type is agent specific. It is recommended to include the dynamic type
701 # rather than a static type of an object.
702 &quot;name&quot;: &quot;A String&quot;, # Name of the variable, if any.
703 &quot;varTableIndex&quot;: 42, # Reference to a variable in the shared variable table. More than
704 # one variable can reference the same variable in the table. The
705 # `var_table_index` field is an index into `variable_table` in Breakpoint.
706 },
707 ],
708 &quot;location&quot;: { # Represents a location in the source code. # Source location of the call site.
709 &quot;path&quot;: &quot;A String&quot;, # Path to the source file within the source context of the target binary.
710 &quot;line&quot;: 42, # Line inside the file. The first line in the file has the value `1`.
711 &quot;column&quot;: 42, # Column within a line. The first column in a line as the value `1`.
712 # Agents that do not support setting breakpoints on specific columns ignore
713 # this field.
714 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700715 },
716 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700717 &quot;userEmail&quot;: &quot;A String&quot;, # E-mail address of the user that created this breakpoint
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700718 &quot;condition&quot;: &quot;A String&quot;, # Condition that triggers the breakpoint.
719 # The condition is a compound boolean expression composed using expressions
720 # in a programming language at the source location.
Bu Sun Kim65020912020-05-20 12:08:20 -0700721 &quot;variableTable&quot;: [ # The `variable_table` exists to aid with computation, memory and network
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400722 # traffic optimization. It enables storing a variable once and reference
723 # it from multiple variables, including variables stored in the
724 # `variable_table` itself.
725 # For example, the same `this` object, which may appear at many levels of
726 # the stack, can have all of its data stored once in this table. The
727 # stack frame variables then would hold only a reference to it.
728 #
729 # The variable `var_table_index` field is an index into this repeated field.
730 # The stored objects are nameless and get their name from the referencing
731 # variable. The effective variable is a merge of the referencing variable
732 # and the referenced variable.
733 { # Represents a variable or an argument possibly of a compound object type.
734 # Note how the following variables are represented:
735 #
736 # 1) A simple variable:
737 #
738 # int x = 5
739 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700740 # { name: &quot;x&quot;, value: &quot;5&quot;, type: &quot;int&quot; } // Captured variable
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400741 #
742 # 2) A compound object:
743 #
744 # struct T {
745 # int m1;
746 # int m2;
747 # };
748 # T x = { 3, 7 };
749 #
750 # { // Captured variable
Bu Sun Kim65020912020-05-20 12:08:20 -0700751 # name: &quot;x&quot;,
752 # type: &quot;T&quot;,
753 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
754 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400755 # }
756 #
757 # 3) A pointer where the pointee was captured:
758 #
759 # T x = { 3, 7 };
Dan O'Mearadd494642020-05-01 07:42:23 -0700760 # T* p = &amp;x;
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400761 #
762 # { // Captured variable
Bu Sun Kim65020912020-05-20 12:08:20 -0700763 # name: &quot;p&quot;,
764 # type: &quot;T*&quot;,
765 # value: &quot;0x00500500&quot;,
766 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
767 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400768 # }
769 #
770 # 4) A pointer where the pointee was not captured:
771 #
772 # T* p = new T;
773 #
774 # { // Captured variable
Bu Sun Kim65020912020-05-20 12:08:20 -0700775 # name: &quot;p&quot;,
776 # type: &quot;T*&quot;,
777 # value: &quot;0x00400400&quot;
778 # status { is_error: true, description { format: &quot;unavailable&quot; } }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400779 # }
780 #
781 # The status should describe the reason for the missing value,
Dan O'Mearadd494642020-05-01 07:42:23 -0700782 # such as `&lt;optimized out&gt;`, `&lt;inaccessible&gt;`, `&lt;pointers limit reached&gt;`.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400783 #
784 # Note that a null pointer should not have members.
785 #
786 # 5) An unnamed value:
787 #
788 # int* p = new int(7);
789 #
790 # { // Captured variable
Bu Sun Kim65020912020-05-20 12:08:20 -0700791 # name: &quot;p&quot;,
792 # value: &quot;0x00500500&quot;,
793 # type: &quot;int*&quot;,
794 # members { value: &quot;7&quot;, type: &quot;int&quot; } }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400795 #
796 # 6) An unnamed pointer where the pointee was not captured:
797 #
798 # int* p = new int(7);
Dan O'Mearadd494642020-05-01 07:42:23 -0700799 # int** pp = &amp;p;
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400800 #
801 # { // Captured variable
Bu Sun Kim65020912020-05-20 12:08:20 -0700802 # name: &quot;pp&quot;,
803 # value: &quot;0x00500500&quot;,
804 # type: &quot;int**&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400805 # members {
Bu Sun Kim65020912020-05-20 12:08:20 -0700806 # value: &quot;0x00400400&quot;,
807 # type: &quot;int*&quot;
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400808 # status {
809 # is_error: true,
Bu Sun Kim65020912020-05-20 12:08:20 -0700810 # description: { format: &quot;unavailable&quot; } }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400811 # }
812 # }
813 # }
814 #
815 # To optimize computation, memory and network traffic, variables that
816 # repeat in the output multiple times can be stored once in a shared
817 # variable table and be referenced using the `var_table_index` field. The
818 # variables stored in the shared table are nameless and are essentially
819 # a partition of the complete variable. To reconstruct the complete
820 # variable, merge the referencing variable with the referenced variable.
821 #
822 # When using the shared variable table, the following variables:
823 #
824 # T x = { 3, 7 };
Dan O'Mearadd494642020-05-01 07:42:23 -0700825 # T* p = &amp;x;
826 # T&amp; r = x;
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400827 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700828 # { name: &quot;x&quot;, var_table_index: 3, type: &quot;T&quot; } // Captured variables
829 # { name: &quot;p&quot;, value &quot;0x00500500&quot;, type=&quot;T*&quot;, var_table_index: 3 }
830 # { name: &quot;r&quot;, type=&quot;T&amp;&quot;, var_table_index: 3 }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400831 #
832 # { // Shared variable table entry #3:
Bu Sun Kim65020912020-05-20 12:08:20 -0700833 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
834 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400835 # }
836 #
837 # Note that the pointer address is stored with the referencing variable
838 # and not with the referenced variable. This allows the referenced variable
839 # to be shared between pointers and references.
840 #
841 # The type field is optional. The debugger agent may or may not support it.
Bu Sun Kim65020912020-05-20 12:08:20 -0700842 &quot;status&quot;: { # Represents a contextual status message. # Status associated with the variable. This field will usually stay
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400843 # unset. A status of a single variable only applies to that variable or
844 # expression. The rest of breakpoint data still remains valid. Variables
845 # might be reported in error state even when breakpoint is not in final
846 # state.
847 #
848 # The message may refer to variable name with `refers_to` set to
849 # `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.
850 # In either case variable value and members will be unset.
851 #
852 # Example of error message applied to name: `Invalid expression syntax`.
853 #
854 # Example of information message applied to value: `Not captured`.
855 #
856 # Examples of error message applied to value:
857 #
858 # * `Malformed string`,
859 # * `Field f not found in class C`
860 # * `Null pointer dereference`
861 # The message can indicate an error or informational status, and refer to
862 # specific parts of the containing object.
863 # For example, the `Breakpoint.status` field can indicate an error referring
864 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700865 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
866 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
Bu Sun Kim65020912020-05-20 12:08:20 -0700867 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400868 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
869 # character.
870 #
871 # Examples:
872 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700873 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400874 # is loaded. Again, $0 is very important.`
875 # * `Please pay $$10 to use $0 instead of $1.`
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700876 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
877 &quot;A String&quot;,
878 ],
Takashi Matsuo06694102015-09-11 13:55:40 -0700879 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700880 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
Takashi Matsuo06694102015-09-11 13:55:40 -0700881 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700882 &quot;value&quot;: &quot;A String&quot;, # Simple value of the variable.
883 &quot;members&quot;: [ # Members contained or pointed to by the variable.
884 # Object with schema name: Variable
885 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700886 &quot;type&quot;: &quot;A String&quot;, # Variable type (e.g. `MyClass`). If the variable is split with
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400887 # `var_table_index`, `type` goes next to `value`. The interpretation of
888 # a type is agent specific. It is recommended to include the dynamic type
889 # rather than a static type of an object.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700890 &quot;name&quot;: &quot;A String&quot;, # Name of the variable, if any.
Bu Sun Kim65020912020-05-20 12:08:20 -0700891 &quot;varTableIndex&quot;: 42, # Reference to a variable in the shared variable table. More than
892 # one variable can reference the same variable in the table. The
893 # `var_table_index` field is an index into `variable_table` in Breakpoint.
Takashi Matsuo06694102015-09-11 13:55:40 -0700894 },
895 ],
Takashi Matsuo06694102015-09-11 13:55:40 -0700896 },
897 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700898 &quot;waitExpired&quot;: True or False, # If set to `true`, indicates that there is no change to the
899 # list of active breakpoints and the server-selected timeout has expired.
900 # The `breakpoints` field would be empty and should be ignored.
Takashi Matsuo06694102015-09-11 13:55:40 -0700901 }</pre>
902</div>
903
904<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700905 <code class="details" id="update">update(debuggeeId, id, body=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400906 <pre>Updates the breakpoint state or mutable fields.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700907The entire Breakpoint message must be sent back to the controller service.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400908
909Updates to active breakpoint fields are only allowed if the new value
910does not change the breakpoint specification. Updates to the `location`,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700911`condition` and `expressions` fields should not alter the breakpoint
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400912semantics. These may only make changes such as canonicalizing a value
913or snapping the location to the correct line of code.
Takashi Matsuo06694102015-09-11 13:55:40 -0700914
915Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700916 debuggeeId: string, Required. Identifies the debuggee being debugged. (required)
Takashi Matsuo06694102015-09-11 13:55:40 -0700917 id: string, Breakpoint identifier, unique in the scope of the debuggee. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700918 body: object, The request body.
Takashi Matsuo06694102015-09-11 13:55:40 -0700919 The object takes the form of:
920
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800921{ # Request to update an active breakpoint.
Bu Sun Kim65020912020-05-20 12:08:20 -0700922 &quot;breakpoint&quot;: { # ------------------------------------------------------------------------------ # Required. Updated breakpoint information.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700923 # The field `id` must be set.
924 # The agent must echo all Breakpoint specification fields in the update.
Dan O'Mearadd494642020-05-01 07:42:23 -0700925 # ## Breakpoint (the resource)
926 #
927 # Represents the breakpoint specification, status and results.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700928 &quot;evaluatedExpressions&quot;: [ # Values of evaluated expressions at breakpoint time.
929 # The evaluated expressions appear in exactly the same order they
930 # are listed in the `expressions` field.
931 # The `name` field holds the original expression text, the `value` or
932 # `members` field holds the result of the evaluated expression.
933 # If the expression cannot be evaluated, the `status` inside the `Variable`
934 # will indicate an error and contain the error text.
935 { # Represents a variable or an argument possibly of a compound object type.
936 # Note how the following variables are represented:
937 #
938 # 1) A simple variable:
939 #
940 # int x = 5
941 #
942 # { name: &quot;x&quot;, value: &quot;5&quot;, type: &quot;int&quot; } // Captured variable
943 #
944 # 2) A compound object:
945 #
946 # struct T {
947 # int m1;
948 # int m2;
949 # };
950 # T x = { 3, 7 };
951 #
952 # { // Captured variable
953 # name: &quot;x&quot;,
954 # type: &quot;T&quot;,
955 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
956 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
957 # }
958 #
959 # 3) A pointer where the pointee was captured:
960 #
961 # T x = { 3, 7 };
962 # T* p = &amp;x;
963 #
964 # { // Captured variable
965 # name: &quot;p&quot;,
966 # type: &quot;T*&quot;,
967 # value: &quot;0x00500500&quot;,
968 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
969 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
970 # }
971 #
972 # 4) A pointer where the pointee was not captured:
973 #
974 # T* p = new T;
975 #
976 # { // Captured variable
977 # name: &quot;p&quot;,
978 # type: &quot;T*&quot;,
979 # value: &quot;0x00400400&quot;
980 # status { is_error: true, description { format: &quot;unavailable&quot; } }
981 # }
982 #
983 # The status should describe the reason for the missing value,
984 # such as `&lt;optimized out&gt;`, `&lt;inaccessible&gt;`, `&lt;pointers limit reached&gt;`.
985 #
986 # Note that a null pointer should not have members.
987 #
988 # 5) An unnamed value:
989 #
990 # int* p = new int(7);
991 #
992 # { // Captured variable
993 # name: &quot;p&quot;,
994 # value: &quot;0x00500500&quot;,
995 # type: &quot;int*&quot;,
996 # members { value: &quot;7&quot;, type: &quot;int&quot; } }
997 #
998 # 6) An unnamed pointer where the pointee was not captured:
999 #
1000 # int* p = new int(7);
1001 # int** pp = &amp;p;
1002 #
1003 # { // Captured variable
1004 # name: &quot;pp&quot;,
1005 # value: &quot;0x00500500&quot;,
1006 # type: &quot;int**&quot;,
1007 # members {
1008 # value: &quot;0x00400400&quot;,
1009 # type: &quot;int*&quot;
1010 # status {
1011 # is_error: true,
1012 # description: { format: &quot;unavailable&quot; } }
1013 # }
1014 # }
1015 # }
1016 #
1017 # To optimize computation, memory and network traffic, variables that
1018 # repeat in the output multiple times can be stored once in a shared
1019 # variable table and be referenced using the `var_table_index` field. The
1020 # variables stored in the shared table are nameless and are essentially
1021 # a partition of the complete variable. To reconstruct the complete
1022 # variable, merge the referencing variable with the referenced variable.
1023 #
1024 # When using the shared variable table, the following variables:
1025 #
1026 # T x = { 3, 7 };
1027 # T* p = &amp;x;
1028 # T&amp; r = x;
1029 #
1030 # { name: &quot;x&quot;, var_table_index: 3, type: &quot;T&quot; } // Captured variables
1031 # { name: &quot;p&quot;, value &quot;0x00500500&quot;, type=&quot;T*&quot;, var_table_index: 3 }
1032 # { name: &quot;r&quot;, type=&quot;T&amp;&quot;, var_table_index: 3 }
1033 #
1034 # { // Shared variable table entry #3:
1035 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
1036 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
1037 # }
1038 #
1039 # Note that the pointer address is stored with the referencing variable
1040 # and not with the referenced variable. This allows the referenced variable
1041 # to be shared between pointers and references.
1042 #
1043 # The type field is optional. The debugger agent may or may not support it.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001044 &quot;status&quot;: { # Represents a contextual status message. # Status associated with the variable. This field will usually stay
1045 # unset. A status of a single variable only applies to that variable or
1046 # expression. The rest of breakpoint data still remains valid. Variables
1047 # might be reported in error state even when breakpoint is not in final
1048 # state.
1049 #
1050 # The message may refer to variable name with `refers_to` set to
1051 # `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.
1052 # In either case variable value and members will be unset.
1053 #
1054 # Example of error message applied to name: `Invalid expression syntax`.
1055 #
1056 # Example of information message applied to value: `Not captured`.
1057 #
1058 # Examples of error message applied to value:
1059 #
1060 # * `Malformed string`,
1061 # * `Field f not found in class C`
1062 # * `Null pointer dereference`
1063 # The message can indicate an error or informational status, and refer to
1064 # specific parts of the containing object.
1065 # For example, the `Breakpoint.status` field can indicate an error referring
1066 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
1067 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
1068 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
1069 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
1070 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
1071 # character.
1072 #
1073 # Examples:
1074 #
1075 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
1076 # is loaded. Again, $0 is very important.`
1077 # * `Please pay $$10 to use $0 instead of $1.`
1078 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
1079 &quot;A String&quot;,
1080 ],
1081 },
1082 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
1083 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001084 &quot;value&quot;: &quot;A String&quot;, # Simple value of the variable.
1085 &quot;members&quot;: [ # Members contained or pointed to by the variable.
1086 # Object with schema name: Variable
1087 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001088 &quot;type&quot;: &quot;A String&quot;, # Variable type (e.g. `MyClass`). If the variable is split with
1089 # `var_table_index`, `type` goes next to `value`. The interpretation of
1090 # a type is agent specific. It is recommended to include the dynamic type
1091 # rather than a static type of an object.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001092 &quot;name&quot;: &quot;A String&quot;, # Name of the variable, if any.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001093 &quot;varTableIndex&quot;: 42, # Reference to a variable in the shared variable table. More than
1094 # one variable can reference the same variable in the table. The
1095 # `var_table_index` field is an index into `variable_table` in Breakpoint.
1096 },
1097 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001098 &quot;canaryExpireTime&quot;: &quot;A String&quot;, # The deadline for the breakpoint to stay in CANARY_ACTIVE state. The value
1099 # is meaningless when the breakpoint is not in CANARY_ACTIVE state.
1100 &quot;status&quot;: { # Represents a contextual status message. # Breakpoint status.
1101 #
1102 # The status includes an error flag and a human readable message.
1103 # This field is usually unset. The message can be either
1104 # informational or an error message. Regardless, clients should always
1105 # display the text message back to the user.
1106 #
1107 # Error status indicates complete failure of the breakpoint.
1108 #
1109 # Example (non-final state): `Still loading symbols...`
1110 #
1111 # Examples (final state):
1112 #
1113 # * `Invalid line number` referring to location
1114 # * `Field f not found in class C` referring to condition
1115 # The message can indicate an error or informational status, and refer to
1116 # specific parts of the containing object.
1117 # For example, the `Breakpoint.status` field can indicate an error referring
1118 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
1119 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
1120 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
1121 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
1122 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
1123 # character.
1124 #
1125 # Examples:
1126 #
1127 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
1128 # is loaded. Again, $0 is very important.`
1129 # * `Please pay $$10 to use $0 instead of $1.`
1130 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
1131 &quot;A String&quot;,
1132 ],
1133 },
1134 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
1135 },
1136 &quot;expressions&quot;: [ # List of read-only expressions to evaluate at the breakpoint location.
1137 # The expressions are composed using expressions in the programming language
1138 # at the source location. If the breakpoint action is `LOG`, the evaluated
1139 # expressions are included in log statements.
1140 &quot;A String&quot;,
1141 ],
1142 &quot;labels&quot;: { # A set of custom breakpoint properties, populated by the agent, to be
1143 # displayed to the user.
1144 &quot;a_key&quot;: &quot;A String&quot;,
1145 },
1146 &quot;logMessageFormat&quot;: &quot;A String&quot;, # Only relevant when action is `LOG`. Defines the message to log when
1147 # the breakpoint hits. The message may include parameter placeholders `$0`,
1148 # `$1`, etc. These placeholders are replaced with the evaluated value
1149 # of the appropriate expression. Expressions not referenced in
1150 # `log_message_format` are not logged.
1151 #
1152 # Example: `Message received, id = $0, count = $1` with
1153 # `expressions` = `[ message.id, message.count ]`.
1154 &quot;createTime&quot;: &quot;A String&quot;, # Time this breakpoint was created by the server in seconds resolution.
1155 &quot;location&quot;: { # Represents a location in the source code. # Breakpoint source location.
1156 &quot;path&quot;: &quot;A String&quot;, # Path to the source file within the source context of the target binary.
1157 &quot;line&quot;: 42, # Line inside the file. The first line in the file has the value `1`.
1158 &quot;column&quot;: 42, # Column within a line. The first column in a line as the value `1`.
1159 # Agents that do not support setting breakpoints on specific columns ignore
1160 # this field.
1161 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001162 &quot;isFinalState&quot;: True or False, # When true, indicates that this is a final result and the
1163 # breakpoint state will not change from here on.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001164 &quot;logLevel&quot;: &quot;A String&quot;, # Indicates the severity of the log. Only relevant when action is `LOG`.
1165 &quot;id&quot;: &quot;A String&quot;, # Breakpoint identifier, unique in the scope of the debuggee.
1166 &quot;action&quot;: &quot;A String&quot;, # Action that the agent should perform when the code at the
1167 # breakpoint location is hit.
1168 &quot;finalTime&quot;: &quot;A String&quot;, # Time this breakpoint was finalized as seen by the server in seconds
1169 # resolution.
1170 &quot;state&quot;: &quot;A String&quot;, # The current state of the breakpoint.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001171 &quot;stackFrames&quot;: [ # The stack at breakpoint time, where stack_frames[0] represents the most
1172 # recently entered function.
1173 { # Represents a stack frame context.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001174 &quot;function&quot;: &quot;A String&quot;, # Demangled function name at the call site.
1175 &quot;arguments&quot;: [ # Set of arguments passed to this function.
1176 # Note that this might not be populated for all stack frames.
1177 { # Represents a variable or an argument possibly of a compound object type.
1178 # Note how the following variables are represented:
1179 #
1180 # 1) A simple variable:
1181 #
1182 # int x = 5
1183 #
1184 # { name: &quot;x&quot;, value: &quot;5&quot;, type: &quot;int&quot; } // Captured variable
1185 #
1186 # 2) A compound object:
1187 #
1188 # struct T {
1189 # int m1;
1190 # int m2;
1191 # };
1192 # T x = { 3, 7 };
1193 #
1194 # { // Captured variable
1195 # name: &quot;x&quot;,
1196 # type: &quot;T&quot;,
1197 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
1198 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
1199 # }
1200 #
1201 # 3) A pointer where the pointee was captured:
1202 #
1203 # T x = { 3, 7 };
1204 # T* p = &amp;x;
1205 #
1206 # { // Captured variable
1207 # name: &quot;p&quot;,
1208 # type: &quot;T*&quot;,
1209 # value: &quot;0x00500500&quot;,
1210 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
1211 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
1212 # }
1213 #
1214 # 4) A pointer where the pointee was not captured:
1215 #
1216 # T* p = new T;
1217 #
1218 # { // Captured variable
1219 # name: &quot;p&quot;,
1220 # type: &quot;T*&quot;,
1221 # value: &quot;0x00400400&quot;
1222 # status { is_error: true, description { format: &quot;unavailable&quot; } }
1223 # }
1224 #
1225 # The status should describe the reason for the missing value,
1226 # such as `&lt;optimized out&gt;`, `&lt;inaccessible&gt;`, `&lt;pointers limit reached&gt;`.
1227 #
1228 # Note that a null pointer should not have members.
1229 #
1230 # 5) An unnamed value:
1231 #
1232 # int* p = new int(7);
1233 #
1234 # { // Captured variable
1235 # name: &quot;p&quot;,
1236 # value: &quot;0x00500500&quot;,
1237 # type: &quot;int*&quot;,
1238 # members { value: &quot;7&quot;, type: &quot;int&quot; } }
1239 #
1240 # 6) An unnamed pointer where the pointee was not captured:
1241 #
1242 # int* p = new int(7);
1243 # int** pp = &amp;p;
1244 #
1245 # { // Captured variable
1246 # name: &quot;pp&quot;,
1247 # value: &quot;0x00500500&quot;,
1248 # type: &quot;int**&quot;,
1249 # members {
1250 # value: &quot;0x00400400&quot;,
1251 # type: &quot;int*&quot;
1252 # status {
1253 # is_error: true,
1254 # description: { format: &quot;unavailable&quot; } }
1255 # }
1256 # }
1257 # }
1258 #
1259 # To optimize computation, memory and network traffic, variables that
1260 # repeat in the output multiple times can be stored once in a shared
1261 # variable table and be referenced using the `var_table_index` field. The
1262 # variables stored in the shared table are nameless and are essentially
1263 # a partition of the complete variable. To reconstruct the complete
1264 # variable, merge the referencing variable with the referenced variable.
1265 #
1266 # When using the shared variable table, the following variables:
1267 #
1268 # T x = { 3, 7 };
1269 # T* p = &amp;x;
1270 # T&amp; r = x;
1271 #
1272 # { name: &quot;x&quot;, var_table_index: 3, type: &quot;T&quot; } // Captured variables
1273 # { name: &quot;p&quot;, value &quot;0x00500500&quot;, type=&quot;T*&quot;, var_table_index: 3 }
1274 # { name: &quot;r&quot;, type=&quot;T&amp;&quot;, var_table_index: 3 }
1275 #
1276 # { // Shared variable table entry #3:
1277 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
1278 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
1279 # }
1280 #
1281 # Note that the pointer address is stored with the referencing variable
1282 # and not with the referenced variable. This allows the referenced variable
1283 # to be shared between pointers and references.
1284 #
1285 # The type field is optional. The debugger agent may or may not support it.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001286 &quot;status&quot;: { # Represents a contextual status message. # Status associated with the variable. This field will usually stay
1287 # unset. A status of a single variable only applies to that variable or
1288 # expression. The rest of breakpoint data still remains valid. Variables
1289 # might be reported in error state even when breakpoint is not in final
1290 # state.
1291 #
1292 # The message may refer to variable name with `refers_to` set to
1293 # `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.
1294 # In either case variable value and members will be unset.
1295 #
1296 # Example of error message applied to name: `Invalid expression syntax`.
1297 #
1298 # Example of information message applied to value: `Not captured`.
1299 #
1300 # Examples of error message applied to value:
1301 #
1302 # * `Malformed string`,
1303 # * `Field f not found in class C`
1304 # * `Null pointer dereference`
1305 # The message can indicate an error or informational status, and refer to
1306 # specific parts of the containing object.
1307 # For example, the `Breakpoint.status` field can indicate an error referring
1308 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
1309 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
1310 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
1311 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
1312 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
1313 # character.
1314 #
1315 # Examples:
1316 #
1317 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
1318 # is loaded. Again, $0 is very important.`
1319 # * `Please pay $$10 to use $0 instead of $1.`
1320 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
1321 &quot;A String&quot;,
1322 ],
1323 },
1324 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
1325 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001326 &quot;value&quot;: &quot;A String&quot;, # Simple value of the variable.
1327 &quot;members&quot;: [ # Members contained or pointed to by the variable.
1328 # Object with schema name: Variable
1329 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001330 &quot;type&quot;: &quot;A String&quot;, # Variable type (e.g. `MyClass`). If the variable is split with
1331 # `var_table_index`, `type` goes next to `value`. The interpretation of
1332 # a type is agent specific. It is recommended to include the dynamic type
1333 # rather than a static type of an object.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001334 &quot;name&quot;: &quot;A String&quot;, # Name of the variable, if any.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001335 &quot;varTableIndex&quot;: 42, # Reference to a variable in the shared variable table. More than
1336 # one variable can reference the same variable in the table. The
1337 # `var_table_index` field is an index into `variable_table` in Breakpoint.
1338 },
1339 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001340 &quot;locals&quot;: [ # Set of local variables at the stack frame location.
1341 # Note that this might not be populated for all stack frames.
1342 { # Represents a variable or an argument possibly of a compound object type.
1343 # Note how the following variables are represented:
1344 #
1345 # 1) A simple variable:
1346 #
1347 # int x = 5
1348 #
1349 # { name: &quot;x&quot;, value: &quot;5&quot;, type: &quot;int&quot; } // Captured variable
1350 #
1351 # 2) A compound object:
1352 #
1353 # struct T {
1354 # int m1;
1355 # int m2;
1356 # };
1357 # T x = { 3, 7 };
1358 #
1359 # { // Captured variable
1360 # name: &quot;x&quot;,
1361 # type: &quot;T&quot;,
1362 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
1363 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
1364 # }
1365 #
1366 # 3) A pointer where the pointee was captured:
1367 #
1368 # T x = { 3, 7 };
1369 # T* p = &amp;x;
1370 #
1371 # { // Captured variable
1372 # name: &quot;p&quot;,
1373 # type: &quot;T*&quot;,
1374 # value: &quot;0x00500500&quot;,
1375 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
1376 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
1377 # }
1378 #
1379 # 4) A pointer where the pointee was not captured:
1380 #
1381 # T* p = new T;
1382 #
1383 # { // Captured variable
1384 # name: &quot;p&quot;,
1385 # type: &quot;T*&quot;,
1386 # value: &quot;0x00400400&quot;
1387 # status { is_error: true, description { format: &quot;unavailable&quot; } }
1388 # }
1389 #
1390 # The status should describe the reason for the missing value,
1391 # such as `&lt;optimized out&gt;`, `&lt;inaccessible&gt;`, `&lt;pointers limit reached&gt;`.
1392 #
1393 # Note that a null pointer should not have members.
1394 #
1395 # 5) An unnamed value:
1396 #
1397 # int* p = new int(7);
1398 #
1399 # { // Captured variable
1400 # name: &quot;p&quot;,
1401 # value: &quot;0x00500500&quot;,
1402 # type: &quot;int*&quot;,
1403 # members { value: &quot;7&quot;, type: &quot;int&quot; } }
1404 #
1405 # 6) An unnamed pointer where the pointee was not captured:
1406 #
1407 # int* p = new int(7);
1408 # int** pp = &amp;p;
1409 #
1410 # { // Captured variable
1411 # name: &quot;pp&quot;,
1412 # value: &quot;0x00500500&quot;,
1413 # type: &quot;int**&quot;,
1414 # members {
1415 # value: &quot;0x00400400&quot;,
1416 # type: &quot;int*&quot;
1417 # status {
1418 # is_error: true,
1419 # description: { format: &quot;unavailable&quot; } }
1420 # }
1421 # }
1422 # }
1423 #
1424 # To optimize computation, memory and network traffic, variables that
1425 # repeat in the output multiple times can be stored once in a shared
1426 # variable table and be referenced using the `var_table_index` field. The
1427 # variables stored in the shared table are nameless and are essentially
1428 # a partition of the complete variable. To reconstruct the complete
1429 # variable, merge the referencing variable with the referenced variable.
1430 #
1431 # When using the shared variable table, the following variables:
1432 #
1433 # T x = { 3, 7 };
1434 # T* p = &amp;x;
1435 # T&amp; r = x;
1436 #
1437 # { name: &quot;x&quot;, var_table_index: 3, type: &quot;T&quot; } // Captured variables
1438 # { name: &quot;p&quot;, value &quot;0x00500500&quot;, type=&quot;T*&quot;, var_table_index: 3 }
1439 # { name: &quot;r&quot;, type=&quot;T&amp;&quot;, var_table_index: 3 }
1440 #
1441 # { // Shared variable table entry #3:
1442 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
1443 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
1444 # }
1445 #
1446 # Note that the pointer address is stored with the referencing variable
1447 # and not with the referenced variable. This allows the referenced variable
1448 # to be shared between pointers and references.
1449 #
1450 # The type field is optional. The debugger agent may or may not support it.
1451 &quot;status&quot;: { # Represents a contextual status message. # Status associated with the variable. This field will usually stay
1452 # unset. A status of a single variable only applies to that variable or
1453 # expression. The rest of breakpoint data still remains valid. Variables
1454 # might be reported in error state even when breakpoint is not in final
1455 # state.
1456 #
1457 # The message may refer to variable name with `refers_to` set to
1458 # `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.
1459 # In either case variable value and members will be unset.
1460 #
1461 # Example of error message applied to name: `Invalid expression syntax`.
1462 #
1463 # Example of information message applied to value: `Not captured`.
1464 #
1465 # Examples of error message applied to value:
1466 #
1467 # * `Malformed string`,
1468 # * `Field f not found in class C`
1469 # * `Null pointer dereference`
1470 # The message can indicate an error or informational status, and refer to
1471 # specific parts of the containing object.
1472 # For example, the `Breakpoint.status` field can indicate an error referring
1473 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
1474 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
1475 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
1476 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
1477 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
1478 # character.
1479 #
1480 # Examples:
1481 #
1482 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
1483 # is loaded. Again, $0 is very important.`
1484 # * `Please pay $$10 to use $0 instead of $1.`
1485 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
1486 &quot;A String&quot;,
1487 ],
1488 },
1489 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
1490 },
1491 &quot;value&quot;: &quot;A String&quot;, # Simple value of the variable.
1492 &quot;members&quot;: [ # Members contained or pointed to by the variable.
1493 # Object with schema name: Variable
1494 ],
1495 &quot;type&quot;: &quot;A String&quot;, # Variable type (e.g. `MyClass`). If the variable is split with
1496 # `var_table_index`, `type` goes next to `value`. The interpretation of
1497 # a type is agent specific. It is recommended to include the dynamic type
1498 # rather than a static type of an object.
1499 &quot;name&quot;: &quot;A String&quot;, # Name of the variable, if any.
1500 &quot;varTableIndex&quot;: 42, # Reference to a variable in the shared variable table. More than
1501 # one variable can reference the same variable in the table. The
1502 # `var_table_index` field is an index into `variable_table` in Breakpoint.
1503 },
1504 ],
1505 &quot;location&quot;: { # Represents a location in the source code. # Source location of the call site.
1506 &quot;path&quot;: &quot;A String&quot;, # Path to the source file within the source context of the target binary.
1507 &quot;line&quot;: 42, # Line inside the file. The first line in the file has the value `1`.
1508 &quot;column&quot;: 42, # Column within a line. The first column in a line as the value `1`.
1509 # Agents that do not support setting breakpoints on specific columns ignore
1510 # this field.
1511 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001512 },
1513 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001514 &quot;userEmail&quot;: &quot;A String&quot;, # E-mail address of the user that created this breakpoint
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001515 &quot;condition&quot;: &quot;A String&quot;, # Condition that triggers the breakpoint.
1516 # The condition is a compound boolean expression composed using expressions
1517 # in a programming language at the source location.
Bu Sun Kim65020912020-05-20 12:08:20 -07001518 &quot;variableTable&quot;: [ # The `variable_table` exists to aid with computation, memory and network
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001519 # traffic optimization. It enables storing a variable once and reference
1520 # it from multiple variables, including variables stored in the
1521 # `variable_table` itself.
1522 # For example, the same `this` object, which may appear at many levels of
1523 # the stack, can have all of its data stored once in this table. The
1524 # stack frame variables then would hold only a reference to it.
1525 #
1526 # The variable `var_table_index` field is an index into this repeated field.
1527 # The stored objects are nameless and get their name from the referencing
1528 # variable. The effective variable is a merge of the referencing variable
1529 # and the referenced variable.
1530 { # Represents a variable or an argument possibly of a compound object type.
1531 # Note how the following variables are represented:
1532 #
1533 # 1) A simple variable:
1534 #
1535 # int x = 5
1536 #
Bu Sun Kim65020912020-05-20 12:08:20 -07001537 # { name: &quot;x&quot;, value: &quot;5&quot;, type: &quot;int&quot; } // Captured variable
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001538 #
1539 # 2) A compound object:
1540 #
1541 # struct T {
1542 # int m1;
1543 # int m2;
1544 # };
1545 # T x = { 3, 7 };
1546 #
1547 # { // Captured variable
Bu Sun Kim65020912020-05-20 12:08:20 -07001548 # name: &quot;x&quot;,
1549 # type: &quot;T&quot;,
1550 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
1551 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001552 # }
1553 #
1554 # 3) A pointer where the pointee was captured:
1555 #
1556 # T x = { 3, 7 };
Dan O'Mearadd494642020-05-01 07:42:23 -07001557 # T* p = &amp;x;
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001558 #
1559 # { // Captured variable
Bu Sun Kim65020912020-05-20 12:08:20 -07001560 # name: &quot;p&quot;,
1561 # type: &quot;T*&quot;,
1562 # value: &quot;0x00500500&quot;,
1563 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
1564 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001565 # }
1566 #
1567 # 4) A pointer where the pointee was not captured:
1568 #
1569 # T* p = new T;
1570 #
1571 # { // Captured variable
Bu Sun Kim65020912020-05-20 12:08:20 -07001572 # name: &quot;p&quot;,
1573 # type: &quot;T*&quot;,
1574 # value: &quot;0x00400400&quot;
1575 # status { is_error: true, description { format: &quot;unavailable&quot; } }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001576 # }
1577 #
1578 # The status should describe the reason for the missing value,
Dan O'Mearadd494642020-05-01 07:42:23 -07001579 # such as `&lt;optimized out&gt;`, `&lt;inaccessible&gt;`, `&lt;pointers limit reached&gt;`.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001580 #
1581 # Note that a null pointer should not have members.
1582 #
1583 # 5) An unnamed value:
1584 #
1585 # int* p = new int(7);
1586 #
1587 # { // Captured variable
Bu Sun Kim65020912020-05-20 12:08:20 -07001588 # name: &quot;p&quot;,
1589 # value: &quot;0x00500500&quot;,
1590 # type: &quot;int*&quot;,
1591 # members { value: &quot;7&quot;, type: &quot;int&quot; } }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001592 #
1593 # 6) An unnamed pointer where the pointee was not captured:
1594 #
1595 # int* p = new int(7);
Dan O'Mearadd494642020-05-01 07:42:23 -07001596 # int** pp = &amp;p;
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001597 #
1598 # { // Captured variable
Bu Sun Kim65020912020-05-20 12:08:20 -07001599 # name: &quot;pp&quot;,
1600 # value: &quot;0x00500500&quot;,
1601 # type: &quot;int**&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001602 # members {
Bu Sun Kim65020912020-05-20 12:08:20 -07001603 # value: &quot;0x00400400&quot;,
1604 # type: &quot;int*&quot;
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001605 # status {
1606 # is_error: true,
Bu Sun Kim65020912020-05-20 12:08:20 -07001607 # description: { format: &quot;unavailable&quot; } }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001608 # }
1609 # }
1610 # }
1611 #
1612 # To optimize computation, memory and network traffic, variables that
1613 # repeat in the output multiple times can be stored once in a shared
1614 # variable table and be referenced using the `var_table_index` field. The
1615 # variables stored in the shared table are nameless and are essentially
1616 # a partition of the complete variable. To reconstruct the complete
1617 # variable, merge the referencing variable with the referenced variable.
1618 #
1619 # When using the shared variable table, the following variables:
1620 #
1621 # T x = { 3, 7 };
Dan O'Mearadd494642020-05-01 07:42:23 -07001622 # T* p = &amp;x;
1623 # T&amp; r = x;
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001624 #
Bu Sun Kim65020912020-05-20 12:08:20 -07001625 # { name: &quot;x&quot;, var_table_index: 3, type: &quot;T&quot; } // Captured variables
1626 # { name: &quot;p&quot;, value &quot;0x00500500&quot;, type=&quot;T*&quot;, var_table_index: 3 }
1627 # { name: &quot;r&quot;, type=&quot;T&amp;&quot;, var_table_index: 3 }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001628 #
1629 # { // Shared variable table entry #3:
Bu Sun Kim65020912020-05-20 12:08:20 -07001630 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
1631 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001632 # }
1633 #
1634 # Note that the pointer address is stored with the referencing variable
1635 # and not with the referenced variable. This allows the referenced variable
1636 # to be shared between pointers and references.
1637 #
1638 # The type field is optional. The debugger agent may or may not support it.
Bu Sun Kim65020912020-05-20 12:08:20 -07001639 &quot;status&quot;: { # Represents a contextual status message. # Status associated with the variable. This field will usually stay
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001640 # unset. A status of a single variable only applies to that variable or
1641 # expression. The rest of breakpoint data still remains valid. Variables
1642 # might be reported in error state even when breakpoint is not in final
1643 # state.
1644 #
1645 # The message may refer to variable name with `refers_to` set to
1646 # `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.
1647 # In either case variable value and members will be unset.
1648 #
1649 # Example of error message applied to name: `Invalid expression syntax`.
1650 #
1651 # Example of information message applied to value: `Not captured`.
1652 #
1653 # Examples of error message applied to value:
1654 #
1655 # * `Malformed string`,
1656 # * `Field f not found in class C`
1657 # * `Null pointer dereference`
1658 # The message can indicate an error or informational status, and refer to
1659 # specific parts of the containing object.
1660 # For example, the `Breakpoint.status` field can indicate an error referring
1661 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
Bu Sun Kim65020912020-05-20 12:08:20 -07001662 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
1663 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
Bu Sun Kim65020912020-05-20 12:08:20 -07001664 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001665 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
1666 # character.
1667 #
1668 # Examples:
1669 #
Bu Sun Kim65020912020-05-20 12:08:20 -07001670 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001671 # is loaded. Again, $0 is very important.`
1672 # * `Please pay $$10 to use $0 instead of $1.`
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001673 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
1674 &quot;A String&quot;,
1675 ],
Takashi Matsuo06694102015-09-11 13:55:40 -07001676 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001677 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
Takashi Matsuo06694102015-09-11 13:55:40 -07001678 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001679 &quot;value&quot;: &quot;A String&quot;, # Simple value of the variable.
1680 &quot;members&quot;: [ # Members contained or pointed to by the variable.
1681 # Object with schema name: Variable
1682 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001683 &quot;type&quot;: &quot;A String&quot;, # Variable type (e.g. `MyClass`). If the variable is split with
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001684 # `var_table_index`, `type` goes next to `value`. The interpretation of
1685 # a type is agent specific. It is recommended to include the dynamic type
1686 # rather than a static type of an object.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001687 &quot;name&quot;: &quot;A String&quot;, # Name of the variable, if any.
Bu Sun Kim65020912020-05-20 12:08:20 -07001688 &quot;varTableIndex&quot;: 42, # Reference to a variable in the shared variable table. More than
1689 # one variable can reference the same variable in the table. The
1690 # `var_table_index` field is an index into `variable_table` in Breakpoint.
Takashi Matsuo06694102015-09-11 13:55:40 -07001691 },
1692 ],
Takashi Matsuo06694102015-09-11 13:55:40 -07001693 },
1694 }
1695
1696 x__xgafv: string, V1 error format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001697 Allowed values
1698 1 - v1 error format
1699 2 - v2 error format
Takashi Matsuo06694102015-09-11 13:55:40 -07001700
1701Returns:
1702 An object of the form:
1703
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001704 { # Response for updating an active breakpoint.
1705 # The message is defined to allow future extensions.
Takashi Matsuo06694102015-09-11 13:55:40 -07001706 }</pre>
1707</div>
1708
1709</body></html>