Class ControllerResource.DebuggeesResource.BreakpointsResource
The "breakpoints" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudDebugger.v2
Assembly: Google.Apis.CloudDebugger.v2.dll
Syntax
public class ControllerResource.DebuggeesResource.BreakpointsResource
Constructors
BreakpointsResource(IClientService)
Constructs a new resource.
Declaration
public BreakpointsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
List(string)
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.
Declaration
public virtual ControllerResource.DebuggeesResource.BreakpointsResource.ListRequest List(string debuggeeId)
Parameters
Type | Name | Description |
---|---|---|
string | debuggeeId | Required. Identifies the debuggee. |
Returns
Type | Description |
---|---|
ControllerResource.DebuggeesResource.BreakpointsResource.ListRequest |
Update(UpdateActiveBreakpointRequest, string, string)
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.
Declaration
public virtual ControllerResource.DebuggeesResource.BreakpointsResource.UpdateRequest Update(UpdateActiveBreakpointRequest body, string debuggeeId, string id)
Parameters
Type | Name | Description |
---|---|---|
UpdateActiveBreakpointRequest | body | The body of the request. |
string | debuggeeId | Required. Identifies the debuggee being debugged. |
string | id | Breakpoint identifier, unique in the scope of the debuggee. |
Returns
Type | Description |
---|---|
ControllerResource.DebuggeesResource.BreakpointsResource.UpdateRequest |