The "breakpoints" collection of methods.
More...
|
| convertToArrayAndStripNulls ($o) |
|
The "breakpoints" collection of methods.
Typical usage is: $clouddebuggerService = new Google_Service_Clouddebugger(...); $breakpoints = $clouddebuggerService->breakpoints;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ listControllerDebuggeesBreakpoints()
Google_Service_Clouddebugger_ControllerDebuggeesBreakpoints_Resource::listControllerDebuggeesBreakpoints |
( |
| $debuggeeId, |
|
|
| $optParams = array() ) |
Returns the list of all active breakpoints for the specified debuggee.
The breakpoint specification (location, condition, and expression fields) is semantically immutable, although the field values may change. For example, an agent may update the location line number to reflect the actual line the breakpoint was set to, but that doesn't change the breakpoint semantics. Thus, an agent does not need to check if a breakpoint has changed when it encounters the same breakpoint on a successive call. Moreover, an agent should remember breakpoints that are complete until the controller removes them from the active list to avoid setting those breakpoints again. (breakpoints.listControllerDebuggeesBreakpoints)
- Parameters
-
string | $debuggeeId | Identifies the debuggee. |
array | $optParams | Optional parameters. |
@opt_param string waitToken A wait token that, if specified, blocks the method call until the list of active breakpoints has changed, or a server selected timeout has expired. The value should be set from the last returned response. The error code google.rpc.Code.ABORTED is returned on wait timeout (which does not require the agent to re-register with the server)
- Return values
-
◆ update()
Updates the breakpoint state or mutable fields.
The entire Breakpoint protobuf must be sent back to the controller. Updates to active breakpoint fields are only allowed if the new value does not change the breakpoint specification. Updates to the 'location', 'condition' and 'expression' fields should not alter the breakpoint semantics. They are restricted to changes such as canonicalizing a value or snapping the location to the correct line of code. (breakpoints.update)
- Parameters
-
string | $debuggeeId | Identifies the debuggee being debugged. |
string | $id | Breakpoint identifier, unique in the scope of the debuggee. |
Google_UpdateActiveBreakpointRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Clouddebugger.php