blob: 9eaa91ed08e1b0ad845f29663c1c33b7d8b62f9c [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 Kim65020912020-05-20 12:08:20 -070078 <code><a href="#list">list(debuggeeId, agentId=None, successOnTimeout=None, waitToken=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 Kim65020912020-05-20 12:08:20 -070085 <code class="details" id="list">list(debuggeeId, agentId=None, successOnTimeout=None, waitToken=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 Kim715bd7f2019-06-14 16:50:42 -0700104 successOnTimeout: boolean, If set to `true` (recommended), returns `google.rpc.Code.OK` status and
105sets the `wait_expired` response field to `true` when the server-selected
106timeout has expired.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400107
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700108If set to `false` (deprecated), returns `google.rpc.Code.ABORTED` status
109when the server-selected timeout has expired.
Bu Sun Kim65020912020-05-20 12:08:20 -0700110 waitToken: string, A token that, if specified, blocks the method call until the list
111of active breakpoints has changed, or a server-selected timeout has
112expired. The value should be set from the `next_wait_token` field in
113the last response. The initial value should be set to `&quot;init&quot;`.
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 Kim65020912020-05-20 12:08:20 -0700123 &quot;breakpoints&quot;: [ # List of all active breakpoints.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400124 # The fields `id` and `location` are guaranteed to be set on each breakpoint.
Dan O'Mearadd494642020-05-01 07:42:23 -0700125 { # ------------------------------------------------------------------------------
126 # ## Breakpoint (the resource)
127 #
128 # Represents the breakpoint specification, status and results.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700129 &quot;expressions&quot;: [ # List of read-only expressions to evaluate at the breakpoint location.
130 # The expressions are composed using expressions in the programming language
131 # at the source location. If the breakpoint action is `LOG`, the evaluated
132 # expressions are included in log statements.
133 &quot;A String&quot;,
134 ],
135 &quot;evaluatedExpressions&quot;: [ # Values of evaluated expressions at breakpoint time.
136 # The evaluated expressions appear in exactly the same order they
137 # are listed in the `expressions` field.
138 # The `name` field holds the original expression text, the `value` or
139 # `members` field holds the result of the evaluated expression.
140 # If the expression cannot be evaluated, the `status` inside the `Variable`
141 # will indicate an error and contain the error text.
142 { # Represents a variable or an argument possibly of a compound object type.
143 # Note how the following variables are represented:
144 #
145 # 1) A simple variable:
146 #
147 # int x = 5
148 #
149 # { name: &quot;x&quot;, value: &quot;5&quot;, type: &quot;int&quot; } // Captured variable
150 #
151 # 2) A compound object:
152 #
153 # struct T {
154 # int m1;
155 # int m2;
156 # };
157 # T x = { 3, 7 };
158 #
159 # { // Captured variable
160 # name: &quot;x&quot;,
161 # type: &quot;T&quot;,
162 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
163 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
164 # }
165 #
166 # 3) A pointer where the pointee was captured:
167 #
168 # T x = { 3, 7 };
169 # T* p = &amp;x;
170 #
171 # { // Captured variable
172 # name: &quot;p&quot;,
173 # type: &quot;T*&quot;,
174 # value: &quot;0x00500500&quot;,
175 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
176 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
177 # }
178 #
179 # 4) A pointer where the pointee was not captured:
180 #
181 # T* p = new T;
182 #
183 # { // Captured variable
184 # name: &quot;p&quot;,
185 # type: &quot;T*&quot;,
186 # value: &quot;0x00400400&quot;
187 # status { is_error: true, description { format: &quot;unavailable&quot; } }
188 # }
189 #
190 # The status should describe the reason for the missing value,
191 # such as `&lt;optimized out&gt;`, `&lt;inaccessible&gt;`, `&lt;pointers limit reached&gt;`.
192 #
193 # Note that a null pointer should not have members.
194 #
195 # 5) An unnamed value:
196 #
197 # int* p = new int(7);
198 #
199 # { // Captured variable
200 # name: &quot;p&quot;,
201 # value: &quot;0x00500500&quot;,
202 # type: &quot;int*&quot;,
203 # members { value: &quot;7&quot;, type: &quot;int&quot; } }
204 #
205 # 6) An unnamed pointer where the pointee was not captured:
206 #
207 # int* p = new int(7);
208 # int** pp = &amp;p;
209 #
210 # { // Captured variable
211 # name: &quot;pp&quot;,
212 # value: &quot;0x00500500&quot;,
213 # type: &quot;int**&quot;,
214 # members {
215 # value: &quot;0x00400400&quot;,
216 # type: &quot;int*&quot;
217 # status {
218 # is_error: true,
219 # description: { format: &quot;unavailable&quot; } }
220 # }
221 # }
222 # }
223 #
224 # To optimize computation, memory and network traffic, variables that
225 # repeat in the output multiple times can be stored once in a shared
226 # variable table and be referenced using the `var_table_index` field. The
227 # variables stored in the shared table are nameless and are essentially
228 # a partition of the complete variable. To reconstruct the complete
229 # variable, merge the referencing variable with the referenced variable.
230 #
231 # When using the shared variable table, the following variables:
232 #
233 # T x = { 3, 7 };
234 # T* p = &amp;x;
235 # T&amp; r = x;
236 #
237 # { name: &quot;x&quot;, var_table_index: 3, type: &quot;T&quot; } // Captured variables
238 # { name: &quot;p&quot;, value &quot;0x00500500&quot;, type=&quot;T*&quot;, var_table_index: 3 }
239 # { name: &quot;r&quot;, type=&quot;T&amp;&quot;, var_table_index: 3 }
240 #
241 # { // Shared variable table entry #3:
242 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
243 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
244 # }
245 #
246 # Note that the pointer address is stored with the referencing variable
247 # and not with the referenced variable. This allows the referenced variable
248 # to be shared between pointers and references.
249 #
250 # The type field is optional. The debugger agent may or may not support it.
251 &quot;members&quot;: [ # Members contained or pointed to by the variable.
252 # Object with schema name: Variable
253 ],
254 &quot;status&quot;: { # Represents a contextual status message. # Status associated with the variable. This field will usually stay
255 # unset. A status of a single variable only applies to that variable or
256 # expression. The rest of breakpoint data still remains valid. Variables
257 # might be reported in error state even when breakpoint is not in final
258 # state.
259 #
260 # The message may refer to variable name with `refers_to` set to
261 # `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.
262 # In either case variable value and members will be unset.
263 #
264 # Example of error message applied to name: `Invalid expression syntax`.
265 #
266 # Example of information message applied to value: `Not captured`.
267 #
268 # Examples of error message applied to value:
269 #
270 # * `Malformed string`,
271 # * `Field f not found in class C`
272 # * `Null pointer dereference`
273 # The message can indicate an error or informational status, and refer to
274 # specific parts of the containing object.
275 # For example, the `Breakpoint.status` field can indicate an error referring
276 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
277 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
278 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
279 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
280 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
281 # character.
282 #
283 # Examples:
284 #
285 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
286 # is loaded. Again, $0 is very important.`
287 # * `Please pay $$10 to use $0 instead of $1.`
288 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
289 &quot;A String&quot;,
290 ],
291 },
292 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
293 },
294 &quot;name&quot;: &quot;A String&quot;, # Name of the variable, if any.
295 &quot;type&quot;: &quot;A String&quot;, # Variable type (e.g. `MyClass`). If the variable is split with
296 # `var_table_index`, `type` goes next to `value`. The interpretation of
297 # a type is agent specific. It is recommended to include the dynamic type
298 # rather than a static type of an object.
299 &quot;value&quot;: &quot;A String&quot;, # Simple value of the variable.
300 &quot;varTableIndex&quot;: 42, # Reference to a variable in the shared variable table. More than
301 # one variable can reference the same variable in the table. The
302 # `var_table_index` field is an index into `variable_table` in Breakpoint.
303 },
304 ],
305 &quot;isFinalState&quot;: True or False, # When true, indicates that this is a final result and the
306 # breakpoint state will not change from here on.
307 &quot;stackFrames&quot;: [ # The stack at breakpoint time, where stack_frames[0] represents the most
308 # recently entered function.
309 { # Represents a stack frame context.
310 &quot;locals&quot;: [ # Set of local variables at the stack frame location.
311 # Note that this might not be populated for all stack frames.
312 { # Represents a variable or an argument possibly of a compound object type.
313 # Note how the following variables are represented:
314 #
315 # 1) A simple variable:
316 #
317 # int x = 5
318 #
319 # { name: &quot;x&quot;, value: &quot;5&quot;, type: &quot;int&quot; } // Captured variable
320 #
321 # 2) A compound object:
322 #
323 # struct T {
324 # int m1;
325 # int m2;
326 # };
327 # T x = { 3, 7 };
328 #
329 # { // Captured variable
330 # name: &quot;x&quot;,
331 # type: &quot;T&quot;,
332 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
333 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
334 # }
335 #
336 # 3) A pointer where the pointee was captured:
337 #
338 # T x = { 3, 7 };
339 # T* p = &amp;x;
340 #
341 # { // Captured variable
342 # name: &quot;p&quot;,
343 # type: &quot;T*&quot;,
344 # value: &quot;0x00500500&quot;,
345 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
346 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
347 # }
348 #
349 # 4) A pointer where the pointee was not captured:
350 #
351 # T* p = new T;
352 #
353 # { // Captured variable
354 # name: &quot;p&quot;,
355 # type: &quot;T*&quot;,
356 # value: &quot;0x00400400&quot;
357 # status { is_error: true, description { format: &quot;unavailable&quot; } }
358 # }
359 #
360 # The status should describe the reason for the missing value,
361 # such as `&lt;optimized out&gt;`, `&lt;inaccessible&gt;`, `&lt;pointers limit reached&gt;`.
362 #
363 # Note that a null pointer should not have members.
364 #
365 # 5) An unnamed value:
366 #
367 # int* p = new int(7);
368 #
369 # { // Captured variable
370 # name: &quot;p&quot;,
371 # value: &quot;0x00500500&quot;,
372 # type: &quot;int*&quot;,
373 # members { value: &quot;7&quot;, type: &quot;int&quot; } }
374 #
375 # 6) An unnamed pointer where the pointee was not captured:
376 #
377 # int* p = new int(7);
378 # int** pp = &amp;p;
379 #
380 # { // Captured variable
381 # name: &quot;pp&quot;,
382 # value: &quot;0x00500500&quot;,
383 # type: &quot;int**&quot;,
384 # members {
385 # value: &quot;0x00400400&quot;,
386 # type: &quot;int*&quot;
387 # status {
388 # is_error: true,
389 # description: { format: &quot;unavailable&quot; } }
390 # }
391 # }
392 # }
393 #
394 # To optimize computation, memory and network traffic, variables that
395 # repeat in the output multiple times can be stored once in a shared
396 # variable table and be referenced using the `var_table_index` field. The
397 # variables stored in the shared table are nameless and are essentially
398 # a partition of the complete variable. To reconstruct the complete
399 # variable, merge the referencing variable with the referenced variable.
400 #
401 # When using the shared variable table, the following variables:
402 #
403 # T x = { 3, 7 };
404 # T* p = &amp;x;
405 # T&amp; r = x;
406 #
407 # { name: &quot;x&quot;, var_table_index: 3, type: &quot;T&quot; } // Captured variables
408 # { name: &quot;p&quot;, value &quot;0x00500500&quot;, type=&quot;T*&quot;, var_table_index: 3 }
409 # { name: &quot;r&quot;, type=&quot;T&amp;&quot;, var_table_index: 3 }
410 #
411 # { // Shared variable table entry #3:
412 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
413 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
414 # }
415 #
416 # Note that the pointer address is stored with the referencing variable
417 # and not with the referenced variable. This allows the referenced variable
418 # to be shared between pointers and references.
419 #
420 # The type field is optional. The debugger agent may or may not support it.
421 &quot;members&quot;: [ # Members contained or pointed to by the variable.
422 # Object with schema name: Variable
423 ],
424 &quot;status&quot;: { # Represents a contextual status message. # Status associated with the variable. This field will usually stay
425 # unset. A status of a single variable only applies to that variable or
426 # expression. The rest of breakpoint data still remains valid. Variables
427 # might be reported in error state even when breakpoint is not in final
428 # state.
429 #
430 # The message may refer to variable name with `refers_to` set to
431 # `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.
432 # In either case variable value and members will be unset.
433 #
434 # Example of error message applied to name: `Invalid expression syntax`.
435 #
436 # Example of information message applied to value: `Not captured`.
437 #
438 # Examples of error message applied to value:
439 #
440 # * `Malformed string`,
441 # * `Field f not found in class C`
442 # * `Null pointer dereference`
443 # The message can indicate an error or informational status, and refer to
444 # specific parts of the containing object.
445 # For example, the `Breakpoint.status` field can indicate an error referring
446 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
447 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
448 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
449 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
450 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
451 # character.
452 #
453 # Examples:
454 #
455 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
456 # is loaded. Again, $0 is very important.`
457 # * `Please pay $$10 to use $0 instead of $1.`
458 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
459 &quot;A String&quot;,
460 ],
461 },
462 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
463 },
464 &quot;name&quot;: &quot;A String&quot;, # Name of the variable, if any.
465 &quot;type&quot;: &quot;A String&quot;, # Variable type (e.g. `MyClass`). If the variable is split with
466 # `var_table_index`, `type` goes next to `value`. The interpretation of
467 # a type is agent specific. It is recommended to include the dynamic type
468 # rather than a static type of an object.
469 &quot;value&quot;: &quot;A String&quot;, # Simple value of the variable.
470 &quot;varTableIndex&quot;: 42, # Reference to a variable in the shared variable table. More than
471 # one variable can reference the same variable in the table. The
472 # `var_table_index` field is an index into `variable_table` in Breakpoint.
473 },
474 ],
475 &quot;location&quot;: { # Represents a location in the source code. # Source location of the call site.
476 &quot;path&quot;: &quot;A String&quot;, # Path to the source file within the source context of the target binary.
477 &quot;column&quot;: 42, # Column within a line. The first column in a line as the value `1`.
478 # Agents that do not support setting breakpoints on specific columns ignore
479 # this field.
480 &quot;line&quot;: 42, # Line inside the file. The first line in the file has the value `1`.
481 },
482 &quot;function&quot;: &quot;A String&quot;, # Demangled function name at the call site.
483 &quot;arguments&quot;: [ # Set of arguments passed to this function.
484 # Note that this might not be populated for all stack frames.
485 { # Represents a variable or an argument possibly of a compound object type.
486 # Note how the following variables are represented:
487 #
488 # 1) A simple variable:
489 #
490 # int x = 5
491 #
492 # { name: &quot;x&quot;, value: &quot;5&quot;, type: &quot;int&quot; } // Captured variable
493 #
494 # 2) A compound object:
495 #
496 # struct T {
497 # int m1;
498 # int m2;
499 # };
500 # T x = { 3, 7 };
501 #
502 # { // Captured variable
503 # name: &quot;x&quot;,
504 # type: &quot;T&quot;,
505 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
506 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
507 # }
508 #
509 # 3) A pointer where the pointee was captured:
510 #
511 # T x = { 3, 7 };
512 # T* p = &amp;x;
513 #
514 # { // Captured variable
515 # name: &quot;p&quot;,
516 # type: &quot;T*&quot;,
517 # value: &quot;0x00500500&quot;,
518 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
519 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
520 # }
521 #
522 # 4) A pointer where the pointee was not captured:
523 #
524 # T* p = new T;
525 #
526 # { // Captured variable
527 # name: &quot;p&quot;,
528 # type: &quot;T*&quot;,
529 # value: &quot;0x00400400&quot;
530 # status { is_error: true, description { format: &quot;unavailable&quot; } }
531 # }
532 #
533 # The status should describe the reason for the missing value,
534 # such as `&lt;optimized out&gt;`, `&lt;inaccessible&gt;`, `&lt;pointers limit reached&gt;`.
535 #
536 # Note that a null pointer should not have members.
537 #
538 # 5) An unnamed value:
539 #
540 # int* p = new int(7);
541 #
542 # { // Captured variable
543 # name: &quot;p&quot;,
544 # value: &quot;0x00500500&quot;,
545 # type: &quot;int*&quot;,
546 # members { value: &quot;7&quot;, type: &quot;int&quot; } }
547 #
548 # 6) An unnamed pointer where the pointee was not captured:
549 #
550 # int* p = new int(7);
551 # int** pp = &amp;p;
552 #
553 # { // Captured variable
554 # name: &quot;pp&quot;,
555 # value: &quot;0x00500500&quot;,
556 # type: &quot;int**&quot;,
557 # members {
558 # value: &quot;0x00400400&quot;,
559 # type: &quot;int*&quot;
560 # status {
561 # is_error: true,
562 # description: { format: &quot;unavailable&quot; } }
563 # }
564 # }
565 # }
566 #
567 # To optimize computation, memory and network traffic, variables that
568 # repeat in the output multiple times can be stored once in a shared
569 # variable table and be referenced using the `var_table_index` field. The
570 # variables stored in the shared table are nameless and are essentially
571 # a partition of the complete variable. To reconstruct the complete
572 # variable, merge the referencing variable with the referenced variable.
573 #
574 # When using the shared variable table, the following variables:
575 #
576 # T x = { 3, 7 };
577 # T* p = &amp;x;
578 # T&amp; r = x;
579 #
580 # { name: &quot;x&quot;, var_table_index: 3, type: &quot;T&quot; } // Captured variables
581 # { name: &quot;p&quot;, value &quot;0x00500500&quot;, type=&quot;T*&quot;, var_table_index: 3 }
582 # { name: &quot;r&quot;, type=&quot;T&amp;&quot;, var_table_index: 3 }
583 #
584 # { // Shared variable table entry #3:
585 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
586 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
587 # }
588 #
589 # Note that the pointer address is stored with the referencing variable
590 # and not with the referenced variable. This allows the referenced variable
591 # to be shared between pointers and references.
592 #
593 # The type field is optional. The debugger agent may or may not support it.
594 &quot;members&quot;: [ # Members contained or pointed to by the variable.
595 # Object with schema name: Variable
596 ],
597 &quot;status&quot;: { # Represents a contextual status message. # Status associated with the variable. This field will usually stay
598 # unset. A status of a single variable only applies to that variable or
599 # expression. The rest of breakpoint data still remains valid. Variables
600 # might be reported in error state even when breakpoint is not in final
601 # state.
602 #
603 # The message may refer to variable name with `refers_to` set to
604 # `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.
605 # In either case variable value and members will be unset.
606 #
607 # Example of error message applied to name: `Invalid expression syntax`.
608 #
609 # Example of information message applied to value: `Not captured`.
610 #
611 # Examples of error message applied to value:
612 #
613 # * `Malformed string`,
614 # * `Field f not found in class C`
615 # * `Null pointer dereference`
616 # The message can indicate an error or informational status, and refer to
617 # specific parts of the containing object.
618 # For example, the `Breakpoint.status` field can indicate an error referring
619 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
620 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
621 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
622 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
623 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
624 # character.
625 #
626 # Examples:
627 #
628 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
629 # is loaded. Again, $0 is very important.`
630 # * `Please pay $$10 to use $0 instead of $1.`
631 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
632 &quot;A String&quot;,
633 ],
634 },
635 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
636 },
637 &quot;name&quot;: &quot;A String&quot;, # Name of the variable, if any.
638 &quot;type&quot;: &quot;A String&quot;, # Variable type (e.g. `MyClass`). If the variable is split with
639 # `var_table_index`, `type` goes next to `value`. The interpretation of
640 # a type is agent specific. It is recommended to include the dynamic type
641 # rather than a static type of an object.
642 &quot;value&quot;: &quot;A String&quot;, # Simple value of the variable.
643 &quot;varTableIndex&quot;: 42, # Reference to a variable in the shared variable table. More than
644 # one variable can reference the same variable in the table. The
645 # `var_table_index` field is an index into `variable_table` in Breakpoint.
646 },
647 ],
648 },
649 ],
650 &quot;condition&quot;: &quot;A String&quot;, # Condition that triggers the breakpoint.
651 # The condition is a compound boolean expression composed using expressions
652 # in a programming language at the source location.
Bu Sun Kim65020912020-05-20 12:08:20 -0700653 &quot;canaryExpireTime&quot;: &quot;A String&quot;, # The deadline for the breakpoint to stay in CANARY_ACTIVE state. The value
654 # is meaningless when the breakpoint is not in CANARY_ACTIVE state.
655 &quot;status&quot;: { # Represents a contextual status message. # Breakpoint status.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400656 #
657 # The status includes an error flag and a human readable message.
658 # This field is usually unset. The message can be either
659 # informational or an error message. Regardless, clients should always
660 # display the text message back to the user.
661 #
662 # Error status indicates complete failure of the breakpoint.
663 #
664 # Example (non-final state): `Still loading symbols...`
665 #
666 # Examples (final state):
667 #
668 # * `Invalid line number` referring to location
669 # * `Field f not found in class C` referring to condition
670 # The message can indicate an error or informational status, and refer to
671 # specific parts of the containing object.
672 # For example, the `Breakpoint.status` field can indicate an error referring
673 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700674 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
675 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
Bu Sun Kim65020912020-05-20 12:08:20 -0700676 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400677 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
678 # character.
679 #
680 # Examples:
681 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700682 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400683 # is loaded. Again, $0 is very important.`
684 # * `Please pay $$10 to use $0 instead of $1.`
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700685 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
686 &quot;A String&quot;,
687 ],
Takashi Matsuo06694102015-09-11 13:55:40 -0700688 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700689 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
Takashi Matsuo06694102015-09-11 13:55:40 -0700690 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700691 &quot;state&quot;: &quot;A String&quot;, # The current state of the breakpoint.
692 &quot;userEmail&quot;: &quot;A String&quot;, # E-mail address of the user that created this breakpoint
693 &quot;action&quot;: &quot;A String&quot;, # Action that the agent should perform when the code at the
694 # breakpoint location is hit.
695 &quot;logLevel&quot;: &quot;A String&quot;, # Indicates the severity of the log. Only relevant when action is `LOG`.
696 &quot;id&quot;: &quot;A String&quot;, # Breakpoint identifier, unique in the scope of the debuggee.
697 &quot;location&quot;: { # Represents a location in the source code. # Breakpoint source location.
698 &quot;path&quot;: &quot;A String&quot;, # Path to the source file within the source context of the target binary.
699 &quot;column&quot;: 42, # Column within a line. The first column in a line as the value `1`.
700 # Agents that do not support setting breakpoints on specific columns ignore
701 # this field.
702 &quot;line&quot;: 42, # Line inside the file. The first line in the file has the value `1`.
703 },
704 &quot;finalTime&quot;: &quot;A String&quot;, # Time this breakpoint was finalized as seen by the server in seconds
705 # resolution.
706 &quot;variableTable&quot;: [ # The `variable_table` exists to aid with computation, memory and network
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400707 # traffic optimization. It enables storing a variable once and reference
708 # it from multiple variables, including variables stored in the
709 # `variable_table` itself.
710 # For example, the same `this` object, which may appear at many levels of
711 # the stack, can have all of its data stored once in this table. The
712 # stack frame variables then would hold only a reference to it.
713 #
714 # The variable `var_table_index` field is an index into this repeated field.
715 # The stored objects are nameless and get their name from the referencing
716 # variable. The effective variable is a merge of the referencing variable
717 # and the referenced variable.
718 { # Represents a variable or an argument possibly of a compound object type.
719 # Note how the following variables are represented:
720 #
721 # 1) A simple variable:
722 #
723 # int x = 5
724 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700725 # { name: &quot;x&quot;, value: &quot;5&quot;, type: &quot;int&quot; } // Captured variable
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400726 #
727 # 2) A compound object:
728 #
729 # struct T {
730 # int m1;
731 # int m2;
732 # };
733 # T x = { 3, 7 };
734 #
735 # { // Captured variable
Bu Sun Kim65020912020-05-20 12:08:20 -0700736 # name: &quot;x&quot;,
737 # type: &quot;T&quot;,
738 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
739 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400740 # }
741 #
742 # 3) A pointer where the pointee was captured:
743 #
744 # T x = { 3, 7 };
Dan O'Mearadd494642020-05-01 07:42:23 -0700745 # T* p = &amp;x;
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400746 #
747 # { // Captured variable
Bu Sun Kim65020912020-05-20 12:08:20 -0700748 # name: &quot;p&quot;,
749 # type: &quot;T*&quot;,
750 # value: &quot;0x00500500&quot;,
751 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
752 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400753 # }
754 #
755 # 4) A pointer where the pointee was not captured:
756 #
757 # T* p = new T;
758 #
759 # { // Captured variable
Bu Sun Kim65020912020-05-20 12:08:20 -0700760 # name: &quot;p&quot;,
761 # type: &quot;T*&quot;,
762 # value: &quot;0x00400400&quot;
763 # status { is_error: true, description { format: &quot;unavailable&quot; } }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400764 # }
765 #
766 # The status should describe the reason for the missing value,
Dan O'Mearadd494642020-05-01 07:42:23 -0700767 # such as `&lt;optimized out&gt;`, `&lt;inaccessible&gt;`, `&lt;pointers limit reached&gt;`.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400768 #
769 # Note that a null pointer should not have members.
770 #
771 # 5) An unnamed value:
772 #
773 # int* p = new int(7);
774 #
775 # { // Captured variable
Bu Sun Kim65020912020-05-20 12:08:20 -0700776 # name: &quot;p&quot;,
777 # value: &quot;0x00500500&quot;,
778 # type: &quot;int*&quot;,
779 # members { value: &quot;7&quot;, type: &quot;int&quot; } }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400780 #
781 # 6) An unnamed pointer where the pointee was not captured:
782 #
783 # int* p = new int(7);
Dan O'Mearadd494642020-05-01 07:42:23 -0700784 # int** pp = &amp;p;
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400785 #
786 # { // Captured variable
Bu Sun Kim65020912020-05-20 12:08:20 -0700787 # name: &quot;pp&quot;,
788 # value: &quot;0x00500500&quot;,
789 # type: &quot;int**&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400790 # members {
Bu Sun Kim65020912020-05-20 12:08:20 -0700791 # value: &quot;0x00400400&quot;,
792 # type: &quot;int*&quot;
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400793 # status {
794 # is_error: true,
Bu Sun Kim65020912020-05-20 12:08:20 -0700795 # description: { format: &quot;unavailable&quot; } }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400796 # }
797 # }
798 # }
799 #
800 # To optimize computation, memory and network traffic, variables that
801 # repeat in the output multiple times can be stored once in a shared
802 # variable table and be referenced using the `var_table_index` field. The
803 # variables stored in the shared table are nameless and are essentially
804 # a partition of the complete variable. To reconstruct the complete
805 # variable, merge the referencing variable with the referenced variable.
806 #
807 # When using the shared variable table, the following variables:
808 #
809 # T x = { 3, 7 };
Dan O'Mearadd494642020-05-01 07:42:23 -0700810 # T* p = &amp;x;
811 # T&amp; r = x;
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400812 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700813 # { name: &quot;x&quot;, var_table_index: 3, type: &quot;T&quot; } // Captured variables
814 # { name: &quot;p&quot;, value &quot;0x00500500&quot;, type=&quot;T*&quot;, var_table_index: 3 }
815 # { name: &quot;r&quot;, type=&quot;T&amp;&quot;, var_table_index: 3 }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400816 #
817 # { // Shared variable table entry #3:
Bu Sun Kim65020912020-05-20 12:08:20 -0700818 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
819 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400820 # }
821 #
822 # Note that the pointer address is stored with the referencing variable
823 # and not with the referenced variable. This allows the referenced variable
824 # to be shared between pointers and references.
825 #
826 # The type field is optional. The debugger agent may or may not support it.
Bu Sun Kim65020912020-05-20 12:08:20 -0700827 &quot;members&quot;: [ # Members contained or pointed to by the variable.
828 # Object with schema name: Variable
829 ],
830 &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 -0400831 # unset. A status of a single variable only applies to that variable or
832 # expression. The rest of breakpoint data still remains valid. Variables
833 # might be reported in error state even when breakpoint is not in final
834 # state.
835 #
836 # The message may refer to variable name with `refers_to` set to
837 # `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.
838 # In either case variable value and members will be unset.
839 #
840 # Example of error message applied to name: `Invalid expression syntax`.
841 #
842 # Example of information message applied to value: `Not captured`.
843 #
844 # Examples of error message applied to value:
845 #
846 # * `Malformed string`,
847 # * `Field f not found in class C`
848 # * `Null pointer dereference`
849 # The message can indicate an error or informational status, and refer to
850 # specific parts of the containing object.
851 # For example, the `Breakpoint.status` field can indicate an error referring
852 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700853 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
854 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
Bu Sun Kim65020912020-05-20 12:08:20 -0700855 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400856 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
857 # character.
858 #
859 # Examples:
860 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700861 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400862 # is loaded. Again, $0 is very important.`
863 # * `Please pay $$10 to use $0 instead of $1.`
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700864 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
865 &quot;A String&quot;,
866 ],
Takashi Matsuo06694102015-09-11 13:55:40 -0700867 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700868 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
Takashi Matsuo06694102015-09-11 13:55:40 -0700869 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700870 &quot;name&quot;: &quot;A String&quot;, # Name of the variable, if any.
871 &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 -0400872 # `var_table_index`, `type` goes next to `value`. The interpretation of
873 # a type is agent specific. It is recommended to include the dynamic type
874 # rather than a static type of an object.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700875 &quot;value&quot;: &quot;A String&quot;, # Simple value of the variable.
Bu Sun Kim65020912020-05-20 12:08:20 -0700876 &quot;varTableIndex&quot;: 42, # Reference to a variable in the shared variable table. More than
877 # one variable can reference the same variable in the table. The
878 # `var_table_index` field is an index into `variable_table` in Breakpoint.
Takashi Matsuo06694102015-09-11 13:55:40 -0700879 },
880 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700881 &quot;createTime&quot;: &quot;A String&quot;, # Time this breakpoint was created by the server in seconds resolution.
882 &quot;logMessageFormat&quot;: &quot;A String&quot;, # Only relevant when action is `LOG`. Defines the message to log when
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700883 # the breakpoint hits. The message may include parameter placeholders `$0`,
884 # `$1`, etc. These placeholders are replaced with the evaluated value
885 # of the appropriate expression. Expressions not referenced in
886 # `log_message_format` are not logged.
887 #
888 # Example: `Message received, id = $0, count = $1` with
889 # `expressions` = `[ message.id, message.count ]`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700890 &quot;labels&quot;: { # A set of custom breakpoint properties, populated by the agent, to be
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400891 # displayed to the user.
Bu Sun Kim65020912020-05-20 12:08:20 -0700892 &quot;a_key&quot;: &quot;A String&quot;,
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700893 },
Takashi Matsuo06694102015-09-11 13:55:40 -0700894 },
895 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700896 &quot;waitExpired&quot;: True or False, # If set to `true`, indicates that there is no change to the
897 # list of active breakpoints and the server-selected timeout has expired.
898 # The `breakpoints` field would be empty and should be ignored.
899 &quot;nextWaitToken&quot;: &quot;A String&quot;, # A token that can be used in the next method call to block until
900 # the list of breakpoints changes.
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;expressions&quot;: [ # List of read-only expressions to evaluate at the breakpoint location.
929 # The expressions are composed using expressions in the programming language
930 # at the source location. If the breakpoint action is `LOG`, the evaluated
931 # expressions are included in log statements.
932 &quot;A String&quot;,
933 ],
934 &quot;evaluatedExpressions&quot;: [ # Values of evaluated expressions at breakpoint time.
935 # The evaluated expressions appear in exactly the same order they
936 # are listed in the `expressions` field.
937 # The `name` field holds the original expression text, the `value` or
938 # `members` field holds the result of the evaluated expression.
939 # If the expression cannot be evaluated, the `status` inside the `Variable`
940 # will indicate an error and contain the error text.
941 { # Represents a variable or an argument possibly of a compound object type.
942 # Note how the following variables are represented:
943 #
944 # 1) A simple variable:
945 #
946 # int x = 5
947 #
948 # { name: &quot;x&quot;, value: &quot;5&quot;, type: &quot;int&quot; } // Captured variable
949 #
950 # 2) A compound object:
951 #
952 # struct T {
953 # int m1;
954 # int m2;
955 # };
956 # T x = { 3, 7 };
957 #
958 # { // Captured variable
959 # name: &quot;x&quot;,
960 # type: &quot;T&quot;,
961 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
962 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
963 # }
964 #
965 # 3) A pointer where the pointee was captured:
966 #
967 # T x = { 3, 7 };
968 # T* p = &amp;x;
969 #
970 # { // Captured variable
971 # name: &quot;p&quot;,
972 # type: &quot;T*&quot;,
973 # value: &quot;0x00500500&quot;,
974 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
975 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
976 # }
977 #
978 # 4) A pointer where the pointee was not captured:
979 #
980 # T* p = new T;
981 #
982 # { // Captured variable
983 # name: &quot;p&quot;,
984 # type: &quot;T*&quot;,
985 # value: &quot;0x00400400&quot;
986 # status { is_error: true, description { format: &quot;unavailable&quot; } }
987 # }
988 #
989 # The status should describe the reason for the missing value,
990 # such as `&lt;optimized out&gt;`, `&lt;inaccessible&gt;`, `&lt;pointers limit reached&gt;`.
991 #
992 # Note that a null pointer should not have members.
993 #
994 # 5) An unnamed value:
995 #
996 # int* p = new int(7);
997 #
998 # { // Captured variable
999 # name: &quot;p&quot;,
1000 # value: &quot;0x00500500&quot;,
1001 # type: &quot;int*&quot;,
1002 # members { value: &quot;7&quot;, type: &quot;int&quot; } }
1003 #
1004 # 6) An unnamed pointer where the pointee was not captured:
1005 #
1006 # int* p = new int(7);
1007 # int** pp = &amp;p;
1008 #
1009 # { // Captured variable
1010 # name: &quot;pp&quot;,
1011 # value: &quot;0x00500500&quot;,
1012 # type: &quot;int**&quot;,
1013 # members {
1014 # value: &quot;0x00400400&quot;,
1015 # type: &quot;int*&quot;
1016 # status {
1017 # is_error: true,
1018 # description: { format: &quot;unavailable&quot; } }
1019 # }
1020 # }
1021 # }
1022 #
1023 # To optimize computation, memory and network traffic, variables that
1024 # repeat in the output multiple times can be stored once in a shared
1025 # variable table and be referenced using the `var_table_index` field. The
1026 # variables stored in the shared table are nameless and are essentially
1027 # a partition of the complete variable. To reconstruct the complete
1028 # variable, merge the referencing variable with the referenced variable.
1029 #
1030 # When using the shared variable table, the following variables:
1031 #
1032 # T x = { 3, 7 };
1033 # T* p = &amp;x;
1034 # T&amp; r = x;
1035 #
1036 # { name: &quot;x&quot;, var_table_index: 3, type: &quot;T&quot; } // Captured variables
1037 # { name: &quot;p&quot;, value &quot;0x00500500&quot;, type=&quot;T*&quot;, var_table_index: 3 }
1038 # { name: &quot;r&quot;, type=&quot;T&amp;&quot;, var_table_index: 3 }
1039 #
1040 # { // Shared variable table entry #3:
1041 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
1042 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
1043 # }
1044 #
1045 # Note that the pointer address is stored with the referencing variable
1046 # and not with the referenced variable. This allows the referenced variable
1047 # to be shared between pointers and references.
1048 #
1049 # The type field is optional. The debugger agent may or may not support it.
1050 &quot;members&quot;: [ # Members contained or pointed to by the variable.
1051 # Object with schema name: Variable
1052 ],
1053 &quot;status&quot;: { # Represents a contextual status message. # Status associated with the variable. This field will usually stay
1054 # unset. A status of a single variable only applies to that variable or
1055 # expression. The rest of breakpoint data still remains valid. Variables
1056 # might be reported in error state even when breakpoint is not in final
1057 # state.
1058 #
1059 # The message may refer to variable name with `refers_to` set to
1060 # `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.
1061 # In either case variable value and members will be unset.
1062 #
1063 # Example of error message applied to name: `Invalid expression syntax`.
1064 #
1065 # Example of information message applied to value: `Not captured`.
1066 #
1067 # Examples of error message applied to value:
1068 #
1069 # * `Malformed string`,
1070 # * `Field f not found in class C`
1071 # * `Null pointer dereference`
1072 # The message can indicate an error or informational status, and refer to
1073 # specific parts of the containing object.
1074 # For example, the `Breakpoint.status` field can indicate an error referring
1075 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
1076 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
1077 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
1078 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
1079 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
1080 # character.
1081 #
1082 # Examples:
1083 #
1084 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
1085 # is loaded. Again, $0 is very important.`
1086 # * `Please pay $$10 to use $0 instead of $1.`
1087 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
1088 &quot;A String&quot;,
1089 ],
1090 },
1091 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
1092 },
1093 &quot;name&quot;: &quot;A String&quot;, # Name of the variable, if any.
1094 &quot;type&quot;: &quot;A String&quot;, # Variable type (e.g. `MyClass`). If the variable is split with
1095 # `var_table_index`, `type` goes next to `value`. The interpretation of
1096 # a type is agent specific. It is recommended to include the dynamic type
1097 # rather than a static type of an object.
1098 &quot;value&quot;: &quot;A String&quot;, # Simple value of the variable.
1099 &quot;varTableIndex&quot;: 42, # Reference to a variable in the shared variable table. More than
1100 # one variable can reference the same variable in the table. The
1101 # `var_table_index` field is an index into `variable_table` in Breakpoint.
1102 },
1103 ],
1104 &quot;isFinalState&quot;: True or False, # When true, indicates that this is a final result and the
1105 # breakpoint state will not change from here on.
1106 &quot;stackFrames&quot;: [ # The stack at breakpoint time, where stack_frames[0] represents the most
1107 # recently entered function.
1108 { # Represents a stack frame context.
1109 &quot;locals&quot;: [ # Set of local variables at the stack frame location.
1110 # Note that this might not be populated for all stack frames.
1111 { # Represents a variable or an argument possibly of a compound object type.
1112 # Note how the following variables are represented:
1113 #
1114 # 1) A simple variable:
1115 #
1116 # int x = 5
1117 #
1118 # { name: &quot;x&quot;, value: &quot;5&quot;, type: &quot;int&quot; } // Captured variable
1119 #
1120 # 2) A compound object:
1121 #
1122 # struct T {
1123 # int m1;
1124 # int m2;
1125 # };
1126 # T x = { 3, 7 };
1127 #
1128 # { // Captured variable
1129 # name: &quot;x&quot;,
1130 # type: &quot;T&quot;,
1131 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
1132 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
1133 # }
1134 #
1135 # 3) A pointer where the pointee was captured:
1136 #
1137 # T x = { 3, 7 };
1138 # T* p = &amp;x;
1139 #
1140 # { // Captured variable
1141 # name: &quot;p&quot;,
1142 # type: &quot;T*&quot;,
1143 # value: &quot;0x00500500&quot;,
1144 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
1145 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
1146 # }
1147 #
1148 # 4) A pointer where the pointee was not captured:
1149 #
1150 # T* p = new T;
1151 #
1152 # { // Captured variable
1153 # name: &quot;p&quot;,
1154 # type: &quot;T*&quot;,
1155 # value: &quot;0x00400400&quot;
1156 # status { is_error: true, description { format: &quot;unavailable&quot; } }
1157 # }
1158 #
1159 # The status should describe the reason for the missing value,
1160 # such as `&lt;optimized out&gt;`, `&lt;inaccessible&gt;`, `&lt;pointers limit reached&gt;`.
1161 #
1162 # Note that a null pointer should not have members.
1163 #
1164 # 5) An unnamed value:
1165 #
1166 # int* p = new int(7);
1167 #
1168 # { // Captured variable
1169 # name: &quot;p&quot;,
1170 # value: &quot;0x00500500&quot;,
1171 # type: &quot;int*&quot;,
1172 # members { value: &quot;7&quot;, type: &quot;int&quot; } }
1173 #
1174 # 6) An unnamed pointer where the pointee was not captured:
1175 #
1176 # int* p = new int(7);
1177 # int** pp = &amp;p;
1178 #
1179 # { // Captured variable
1180 # name: &quot;pp&quot;,
1181 # value: &quot;0x00500500&quot;,
1182 # type: &quot;int**&quot;,
1183 # members {
1184 # value: &quot;0x00400400&quot;,
1185 # type: &quot;int*&quot;
1186 # status {
1187 # is_error: true,
1188 # description: { format: &quot;unavailable&quot; } }
1189 # }
1190 # }
1191 # }
1192 #
1193 # To optimize computation, memory and network traffic, variables that
1194 # repeat in the output multiple times can be stored once in a shared
1195 # variable table and be referenced using the `var_table_index` field. The
1196 # variables stored in the shared table are nameless and are essentially
1197 # a partition of the complete variable. To reconstruct the complete
1198 # variable, merge the referencing variable with the referenced variable.
1199 #
1200 # When using the shared variable table, the following variables:
1201 #
1202 # T x = { 3, 7 };
1203 # T* p = &amp;x;
1204 # T&amp; r = x;
1205 #
1206 # { name: &quot;x&quot;, var_table_index: 3, type: &quot;T&quot; } // Captured variables
1207 # { name: &quot;p&quot;, value &quot;0x00500500&quot;, type=&quot;T*&quot;, var_table_index: 3 }
1208 # { name: &quot;r&quot;, type=&quot;T&amp;&quot;, var_table_index: 3 }
1209 #
1210 # { // Shared variable table entry #3:
1211 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
1212 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
1213 # }
1214 #
1215 # Note that the pointer address is stored with the referencing variable
1216 # and not with the referenced variable. This allows the referenced variable
1217 # to be shared between pointers and references.
1218 #
1219 # The type field is optional. The debugger agent may or may not support it.
1220 &quot;members&quot;: [ # Members contained or pointed to by the variable.
1221 # Object with schema name: Variable
1222 ],
1223 &quot;status&quot;: { # Represents a contextual status message. # Status associated with the variable. This field will usually stay
1224 # unset. A status of a single variable only applies to that variable or
1225 # expression. The rest of breakpoint data still remains valid. Variables
1226 # might be reported in error state even when breakpoint is not in final
1227 # state.
1228 #
1229 # The message may refer to variable name with `refers_to` set to
1230 # `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.
1231 # In either case variable value and members will be unset.
1232 #
1233 # Example of error message applied to name: `Invalid expression syntax`.
1234 #
1235 # Example of information message applied to value: `Not captured`.
1236 #
1237 # Examples of error message applied to value:
1238 #
1239 # * `Malformed string`,
1240 # * `Field f not found in class C`
1241 # * `Null pointer dereference`
1242 # The message can indicate an error or informational status, and refer to
1243 # specific parts of the containing object.
1244 # For example, the `Breakpoint.status` field can indicate an error referring
1245 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
1246 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
1247 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
1248 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
1249 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
1250 # character.
1251 #
1252 # Examples:
1253 #
1254 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
1255 # is loaded. Again, $0 is very important.`
1256 # * `Please pay $$10 to use $0 instead of $1.`
1257 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
1258 &quot;A String&quot;,
1259 ],
1260 },
1261 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
1262 },
1263 &quot;name&quot;: &quot;A String&quot;, # Name of the variable, if any.
1264 &quot;type&quot;: &quot;A String&quot;, # Variable type (e.g. `MyClass`). If the variable is split with
1265 # `var_table_index`, `type` goes next to `value`. The interpretation of
1266 # a type is agent specific. It is recommended to include the dynamic type
1267 # rather than a static type of an object.
1268 &quot;value&quot;: &quot;A String&quot;, # Simple value of the variable.
1269 &quot;varTableIndex&quot;: 42, # Reference to a variable in the shared variable table. More than
1270 # one variable can reference the same variable in the table. The
1271 # `var_table_index` field is an index into `variable_table` in Breakpoint.
1272 },
1273 ],
1274 &quot;location&quot;: { # Represents a location in the source code. # Source location of the call site.
1275 &quot;path&quot;: &quot;A String&quot;, # Path to the source file within the source context of the target binary.
1276 &quot;column&quot;: 42, # Column within a line. The first column in a line as the value `1`.
1277 # Agents that do not support setting breakpoints on specific columns ignore
1278 # this field.
1279 &quot;line&quot;: 42, # Line inside the file. The first line in the file has the value `1`.
1280 },
1281 &quot;function&quot;: &quot;A String&quot;, # Demangled function name at the call site.
1282 &quot;arguments&quot;: [ # Set of arguments passed to this function.
1283 # Note that this might not be populated for all stack frames.
1284 { # Represents a variable or an argument possibly of a compound object type.
1285 # Note how the following variables are represented:
1286 #
1287 # 1) A simple variable:
1288 #
1289 # int x = 5
1290 #
1291 # { name: &quot;x&quot;, value: &quot;5&quot;, type: &quot;int&quot; } // Captured variable
1292 #
1293 # 2) A compound object:
1294 #
1295 # struct T {
1296 # int m1;
1297 # int m2;
1298 # };
1299 # T x = { 3, 7 };
1300 #
1301 # { // Captured variable
1302 # name: &quot;x&quot;,
1303 # type: &quot;T&quot;,
1304 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
1305 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
1306 # }
1307 #
1308 # 3) A pointer where the pointee was captured:
1309 #
1310 # T x = { 3, 7 };
1311 # T* p = &amp;x;
1312 #
1313 # { // Captured variable
1314 # name: &quot;p&quot;,
1315 # type: &quot;T*&quot;,
1316 # value: &quot;0x00500500&quot;,
1317 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
1318 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
1319 # }
1320 #
1321 # 4) A pointer where the pointee was not captured:
1322 #
1323 # T* p = new T;
1324 #
1325 # { // Captured variable
1326 # name: &quot;p&quot;,
1327 # type: &quot;T*&quot;,
1328 # value: &quot;0x00400400&quot;
1329 # status { is_error: true, description { format: &quot;unavailable&quot; } }
1330 # }
1331 #
1332 # The status should describe the reason for the missing value,
1333 # such as `&lt;optimized out&gt;`, `&lt;inaccessible&gt;`, `&lt;pointers limit reached&gt;`.
1334 #
1335 # Note that a null pointer should not have members.
1336 #
1337 # 5) An unnamed value:
1338 #
1339 # int* p = new int(7);
1340 #
1341 # { // Captured variable
1342 # name: &quot;p&quot;,
1343 # value: &quot;0x00500500&quot;,
1344 # type: &quot;int*&quot;,
1345 # members { value: &quot;7&quot;, type: &quot;int&quot; } }
1346 #
1347 # 6) An unnamed pointer where the pointee was not captured:
1348 #
1349 # int* p = new int(7);
1350 # int** pp = &amp;p;
1351 #
1352 # { // Captured variable
1353 # name: &quot;pp&quot;,
1354 # value: &quot;0x00500500&quot;,
1355 # type: &quot;int**&quot;,
1356 # members {
1357 # value: &quot;0x00400400&quot;,
1358 # type: &quot;int*&quot;
1359 # status {
1360 # is_error: true,
1361 # description: { format: &quot;unavailable&quot; } }
1362 # }
1363 # }
1364 # }
1365 #
1366 # To optimize computation, memory and network traffic, variables that
1367 # repeat in the output multiple times can be stored once in a shared
1368 # variable table and be referenced using the `var_table_index` field. The
1369 # variables stored in the shared table are nameless and are essentially
1370 # a partition of the complete variable. To reconstruct the complete
1371 # variable, merge the referencing variable with the referenced variable.
1372 #
1373 # When using the shared variable table, the following variables:
1374 #
1375 # T x = { 3, 7 };
1376 # T* p = &amp;x;
1377 # T&amp; r = x;
1378 #
1379 # { name: &quot;x&quot;, var_table_index: 3, type: &quot;T&quot; } // Captured variables
1380 # { name: &quot;p&quot;, value &quot;0x00500500&quot;, type=&quot;T*&quot;, var_table_index: 3 }
1381 # { name: &quot;r&quot;, type=&quot;T&amp;&quot;, var_table_index: 3 }
1382 #
1383 # { // Shared variable table entry #3:
1384 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
1385 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
1386 # }
1387 #
1388 # Note that the pointer address is stored with the referencing variable
1389 # and not with the referenced variable. This allows the referenced variable
1390 # to be shared between pointers and references.
1391 #
1392 # The type field is optional. The debugger agent may or may not support it.
1393 &quot;members&quot;: [ # Members contained or pointed to by the variable.
1394 # Object with schema name: Variable
1395 ],
1396 &quot;status&quot;: { # Represents a contextual status message. # Status associated with the variable. This field will usually stay
1397 # unset. A status of a single variable only applies to that variable or
1398 # expression. The rest of breakpoint data still remains valid. Variables
1399 # might be reported in error state even when breakpoint is not in final
1400 # state.
1401 #
1402 # The message may refer to variable name with `refers_to` set to
1403 # `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.
1404 # In either case variable value and members will be unset.
1405 #
1406 # Example of error message applied to name: `Invalid expression syntax`.
1407 #
1408 # Example of information message applied to value: `Not captured`.
1409 #
1410 # Examples of error message applied to value:
1411 #
1412 # * `Malformed string`,
1413 # * `Field f not found in class C`
1414 # * `Null pointer dereference`
1415 # The message can indicate an error or informational status, and refer to
1416 # specific parts of the containing object.
1417 # For example, the `Breakpoint.status` field can indicate an error referring
1418 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
1419 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
1420 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
1421 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
1422 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
1423 # character.
1424 #
1425 # Examples:
1426 #
1427 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
1428 # is loaded. Again, $0 is very important.`
1429 # * `Please pay $$10 to use $0 instead of $1.`
1430 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
1431 &quot;A String&quot;,
1432 ],
1433 },
1434 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
1435 },
1436 &quot;name&quot;: &quot;A String&quot;, # Name of the variable, if any.
1437 &quot;type&quot;: &quot;A String&quot;, # Variable type (e.g. `MyClass`). If the variable is split with
1438 # `var_table_index`, `type` goes next to `value`. The interpretation of
1439 # a type is agent specific. It is recommended to include the dynamic type
1440 # rather than a static type of an object.
1441 &quot;value&quot;: &quot;A String&quot;, # Simple value of the variable.
1442 &quot;varTableIndex&quot;: 42, # Reference to a variable in the shared variable table. More than
1443 # one variable can reference the same variable in the table. The
1444 # `var_table_index` field is an index into `variable_table` in Breakpoint.
1445 },
1446 ],
1447 },
1448 ],
1449 &quot;condition&quot;: &quot;A String&quot;, # Condition that triggers the breakpoint.
1450 # The condition is a compound boolean expression composed using expressions
1451 # in a programming language at the source location.
Bu Sun Kim65020912020-05-20 12:08:20 -07001452 &quot;canaryExpireTime&quot;: &quot;A String&quot;, # The deadline for the breakpoint to stay in CANARY_ACTIVE state. The value
1453 # is meaningless when the breakpoint is not in CANARY_ACTIVE state.
1454 &quot;status&quot;: { # Represents a contextual status message. # Breakpoint status.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001455 #
1456 # The status includes an error flag and a human readable message.
1457 # This field is usually unset. The message can be either
1458 # informational or an error message. Regardless, clients should always
1459 # display the text message back to the user.
1460 #
1461 # Error status indicates complete failure of the breakpoint.
1462 #
1463 # Example (non-final state): `Still loading symbols...`
1464 #
1465 # Examples (final state):
1466 #
1467 # * `Invalid line number` referring to location
1468 # * `Field f not found in class C` referring to condition
1469 # The message can indicate an error or informational status, and refer to
1470 # specific parts of the containing object.
1471 # For example, the `Breakpoint.status` field can indicate an error referring
1472 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
Bu Sun Kim65020912020-05-20 12:08:20 -07001473 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
1474 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
Bu Sun Kim65020912020-05-20 12:08:20 -07001475 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001476 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
1477 # character.
1478 #
1479 # Examples:
1480 #
Bu Sun Kim65020912020-05-20 12:08:20 -07001481 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001482 # is loaded. Again, $0 is very important.`
1483 # * `Please pay $$10 to use $0 instead of $1.`
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001484 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
1485 &quot;A String&quot;,
1486 ],
Takashi Matsuo06694102015-09-11 13:55:40 -07001487 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001488 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
Takashi Matsuo06694102015-09-11 13:55:40 -07001489 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001490 &quot;state&quot;: &quot;A String&quot;, # The current state of the breakpoint.
1491 &quot;userEmail&quot;: &quot;A String&quot;, # E-mail address of the user that created this breakpoint
1492 &quot;action&quot;: &quot;A String&quot;, # Action that the agent should perform when the code at the
1493 # breakpoint location is hit.
1494 &quot;logLevel&quot;: &quot;A String&quot;, # Indicates the severity of the log. Only relevant when action is `LOG`.
1495 &quot;id&quot;: &quot;A String&quot;, # Breakpoint identifier, unique in the scope of the debuggee.
1496 &quot;location&quot;: { # Represents a location in the source code. # Breakpoint source location.
1497 &quot;path&quot;: &quot;A String&quot;, # Path to the source file within the source context of the target binary.
1498 &quot;column&quot;: 42, # Column within a line. The first column in a line as the value `1`.
1499 # Agents that do not support setting breakpoints on specific columns ignore
1500 # this field.
1501 &quot;line&quot;: 42, # Line inside the file. The first line in the file has the value `1`.
1502 },
1503 &quot;finalTime&quot;: &quot;A String&quot;, # Time this breakpoint was finalized as seen by the server in seconds
1504 # resolution.
1505 &quot;variableTable&quot;: [ # The `variable_table` exists to aid with computation, memory and network
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001506 # traffic optimization. It enables storing a variable once and reference
1507 # it from multiple variables, including variables stored in the
1508 # `variable_table` itself.
1509 # For example, the same `this` object, which may appear at many levels of
1510 # the stack, can have all of its data stored once in this table. The
1511 # stack frame variables then would hold only a reference to it.
1512 #
1513 # The variable `var_table_index` field is an index into this repeated field.
1514 # The stored objects are nameless and get their name from the referencing
1515 # variable. The effective variable is a merge of the referencing variable
1516 # and the referenced variable.
1517 { # Represents a variable or an argument possibly of a compound object type.
1518 # Note how the following variables are represented:
1519 #
1520 # 1) A simple variable:
1521 #
1522 # int x = 5
1523 #
Bu Sun Kim65020912020-05-20 12:08:20 -07001524 # { name: &quot;x&quot;, value: &quot;5&quot;, type: &quot;int&quot; } // Captured variable
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001525 #
1526 # 2) A compound object:
1527 #
1528 # struct T {
1529 # int m1;
1530 # int m2;
1531 # };
1532 # T x = { 3, 7 };
1533 #
1534 # { // Captured variable
Bu Sun Kim65020912020-05-20 12:08:20 -07001535 # name: &quot;x&quot;,
1536 # type: &quot;T&quot;,
1537 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
1538 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001539 # }
1540 #
1541 # 3) A pointer where the pointee was captured:
1542 #
1543 # T x = { 3, 7 };
Dan O'Mearadd494642020-05-01 07:42:23 -07001544 # T* p = &amp;x;
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001545 #
1546 # { // Captured variable
Bu Sun Kim65020912020-05-20 12:08:20 -07001547 # name: &quot;p&quot;,
1548 # type: &quot;T*&quot;,
1549 # value: &quot;0x00500500&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 # 4) A pointer where the pointee was not captured:
1555 #
1556 # T* p = new T;
1557 #
1558 # { // Captured variable
Bu Sun Kim65020912020-05-20 12:08:20 -07001559 # name: &quot;p&quot;,
1560 # type: &quot;T*&quot;,
1561 # value: &quot;0x00400400&quot;
1562 # status { is_error: true, description { format: &quot;unavailable&quot; } }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001563 # }
1564 #
1565 # The status should describe the reason for the missing value,
Dan O'Mearadd494642020-05-01 07:42:23 -07001566 # such as `&lt;optimized out&gt;`, `&lt;inaccessible&gt;`, `&lt;pointers limit reached&gt;`.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001567 #
1568 # Note that a null pointer should not have members.
1569 #
1570 # 5) An unnamed value:
1571 #
1572 # int* p = new int(7);
1573 #
1574 # { // Captured variable
Bu Sun Kim65020912020-05-20 12:08:20 -07001575 # name: &quot;p&quot;,
1576 # value: &quot;0x00500500&quot;,
1577 # type: &quot;int*&quot;,
1578 # members { value: &quot;7&quot;, type: &quot;int&quot; } }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001579 #
1580 # 6) An unnamed pointer where the pointee was not captured:
1581 #
1582 # int* p = new int(7);
Dan O'Mearadd494642020-05-01 07:42:23 -07001583 # int** pp = &amp;p;
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001584 #
1585 # { // Captured variable
Bu Sun Kim65020912020-05-20 12:08:20 -07001586 # name: &quot;pp&quot;,
1587 # value: &quot;0x00500500&quot;,
1588 # type: &quot;int**&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001589 # members {
Bu Sun Kim65020912020-05-20 12:08:20 -07001590 # value: &quot;0x00400400&quot;,
1591 # type: &quot;int*&quot;
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001592 # status {
1593 # is_error: true,
Bu Sun Kim65020912020-05-20 12:08:20 -07001594 # description: { format: &quot;unavailable&quot; } }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001595 # }
1596 # }
1597 # }
1598 #
1599 # To optimize computation, memory and network traffic, variables that
1600 # repeat in the output multiple times can be stored once in a shared
1601 # variable table and be referenced using the `var_table_index` field. The
1602 # variables stored in the shared table are nameless and are essentially
1603 # a partition of the complete variable. To reconstruct the complete
1604 # variable, merge the referencing variable with the referenced variable.
1605 #
1606 # When using the shared variable table, the following variables:
1607 #
1608 # T x = { 3, 7 };
Dan O'Mearadd494642020-05-01 07:42:23 -07001609 # T* p = &amp;x;
1610 # T&amp; r = x;
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001611 #
Bu Sun Kim65020912020-05-20 12:08:20 -07001612 # { name: &quot;x&quot;, var_table_index: 3, type: &quot;T&quot; } // Captured variables
1613 # { name: &quot;p&quot;, value &quot;0x00500500&quot;, type=&quot;T*&quot;, var_table_index: 3 }
1614 # { name: &quot;r&quot;, type=&quot;T&amp;&quot;, var_table_index: 3 }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001615 #
1616 # { // Shared variable table entry #3:
Bu Sun Kim65020912020-05-20 12:08:20 -07001617 # members { name: &quot;m1&quot;, value: &quot;3&quot;, type: &quot;int&quot; },
1618 # members { name: &quot;m2&quot;, value: &quot;7&quot;, type: &quot;int&quot; }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001619 # }
1620 #
1621 # Note that the pointer address is stored with the referencing variable
1622 # and not with the referenced variable. This allows the referenced variable
1623 # to be shared between pointers and references.
1624 #
1625 # The type field is optional. The debugger agent may or may not support it.
Bu Sun Kim65020912020-05-20 12:08:20 -07001626 &quot;members&quot;: [ # Members contained or pointed to by the variable.
1627 # Object with schema name: Variable
1628 ],
1629 &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 -04001630 # unset. A status of a single variable only applies to that variable or
1631 # expression. The rest of breakpoint data still remains valid. Variables
1632 # might be reported in error state even when breakpoint is not in final
1633 # state.
1634 #
1635 # The message may refer to variable name with `refers_to` set to
1636 # `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.
1637 # In either case variable value and members will be unset.
1638 #
1639 # Example of error message applied to name: `Invalid expression syntax`.
1640 #
1641 # Example of information message applied to value: `Not captured`.
1642 #
1643 # Examples of error message applied to value:
1644 #
1645 # * `Malformed string`,
1646 # * `Field f not found in class C`
1647 # * `Null pointer dereference`
1648 # The message can indicate an error or informational status, and refer to
1649 # specific parts of the containing object.
1650 # For example, the `Breakpoint.status` field can indicate an error referring
1651 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
Bu Sun Kim65020912020-05-20 12:08:20 -07001652 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
1653 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
Bu Sun Kim65020912020-05-20 12:08:20 -07001654 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001655 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
1656 # character.
1657 #
1658 # Examples:
1659 #
Bu Sun Kim65020912020-05-20 12:08:20 -07001660 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001661 # is loaded. Again, $0 is very important.`
1662 # * `Please pay $$10 to use $0 instead of $1.`
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001663 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
1664 &quot;A String&quot;,
1665 ],
Takashi Matsuo06694102015-09-11 13:55:40 -07001666 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001667 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
Takashi Matsuo06694102015-09-11 13:55:40 -07001668 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001669 &quot;name&quot;: &quot;A String&quot;, # Name of the variable, if any.
1670 &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 -04001671 # `var_table_index`, `type` goes next to `value`. The interpretation of
1672 # a type is agent specific. It is recommended to include the dynamic type
1673 # rather than a static type of an object.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001674 &quot;value&quot;: &quot;A String&quot;, # Simple value of the variable.
Bu Sun Kim65020912020-05-20 12:08:20 -07001675 &quot;varTableIndex&quot;: 42, # Reference to a variable in the shared variable table. More than
1676 # one variable can reference the same variable in the table. The
1677 # `var_table_index` field is an index into `variable_table` in Breakpoint.
Takashi Matsuo06694102015-09-11 13:55:40 -07001678 },
1679 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001680 &quot;createTime&quot;: &quot;A String&quot;, # Time this breakpoint was created by the server in seconds resolution.
1681 &quot;logMessageFormat&quot;: &quot;A String&quot;, # Only relevant when action is `LOG`. Defines the message to log when
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001682 # the breakpoint hits. The message may include parameter placeholders `$0`,
1683 # `$1`, etc. These placeholders are replaced with the evaluated value
1684 # of the appropriate expression. Expressions not referenced in
1685 # `log_message_format` are not logged.
1686 #
1687 # Example: `Message received, id = $0, count = $1` with
1688 # `expressions` = `[ message.id, message.count ]`.
Bu Sun Kim65020912020-05-20 12:08:20 -07001689 &quot;labels&quot;: { # A set of custom breakpoint properties, populated by the agent, to be
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001690 # displayed to the user.
Bu Sun Kim65020912020-05-20 12:08:20 -07001691 &quot;a_key&quot;: &quot;A String&quot;,
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -07001692 },
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>