class ControllerDebuggeesBreakpoints extends Resource (View source)

The "breakpoints" collection of methods.

Typical usage is:

 $clouddebuggerService = new Google\Service\CloudDebugger(...);
 $breakpoints = $clouddebuggerService->controller_debuggees_breakpoints;

Methods

listControllerDebuggeesBreakpoints(string $debuggeeId, array $optParams = [])

Returns the list of all active breakpoints for the debuggee. The breakpoint specification (location, condition, and expressions 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 where the breakpoint was set, but this doesn't change the breakpoint semantics.

update(string $debuggeeId, string $id, UpdateActiveBreakpointRequest $postBody, array $optParams = [])

Updates the breakpoint state or mutable fields. The entire Breakpoint message must be sent back to the controller service. Updates to active breakpoint fields are only allowed if the new value does not change the breakpoint specification. Updates to the location, condition and expressions fields should not alter the breakpoint semantics. These may only make changes such as canonicalizing a value or snapping the location to the correct line of code. (breakpoints.update)

Details

ListActiveBreakpointsResponse listControllerDebuggeesBreakpoints(string $debuggeeId, array $optParams = [])

Returns the list of all active breakpoints for the debuggee. The breakpoint specification (location, condition, and expressions 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 where the breakpoint was set, but this doesn't change the breakpoint semantics.

This means that 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 the breakpoints that are completed until the controller removes them from the active list to avoid setting those breakpoints again. (breakpoints.listControllerDebuggeesBreakpoints)

Parameters

string $debuggeeId

Required. Identifies the debuggee.

array $optParams

Optional parameters.

Return Value

ListActiveBreakpointsResponse

UpdateActiveBreakpointResponse update(string $debuggeeId, string $id, UpdateActiveBreakpointRequest $postBody, array $optParams = [])

Updates the breakpoint state or mutable fields. The entire Breakpoint message must be sent back to the controller service. Updates to active breakpoint fields are only allowed if the new value does not change the breakpoint specification. Updates to the location, condition and expressions fields should not alter the breakpoint semantics. These may only make changes such as canonicalizing a value or snapping the location to the correct line of code. (breakpoints.update)

Parameters

string $debuggeeId

Required. Identifies the debuggee being debugged.

string $id

Breakpoint identifier, unique in the scope of the debuggee.

UpdateActiveBreakpointRequest $postBody
array $optParams

Optional parameters.

Return Value

UpdateActiveBreakpointResponse