target.apidocs.com.google.api.services.clouddebugger.v2.CloudDebugger.Controller.Debuggees.Breakpoints.html Maven / Gradle / Ivy
CloudDebugger.Controller.Debuggees.Breakpoints (Cloud Debugger API v2-rev20200807-1.30.10)
com.google.api.services.clouddebugger.v2
Class CloudDebugger.Controller.Debuggees.Breakpoints
- java.lang.Object
-
- com.google.api.services.clouddebugger.v2.CloudDebugger.Controller.Debuggees.Breakpoints
-
- Enclosing class:
- CloudDebugger.Controller.Debuggees
public class CloudDebugger.Controller.Debuggees.Breakpoints
extends Object
The "breakpoints" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
CloudDebugger.Controller.Debuggees.Breakpoints.List
class
CloudDebugger.Controller.Debuggees.Breakpoints.Update
-
Constructor Summary
Constructors
Constructor and Description
Breakpoints()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
CloudDebugger.Controller.Debuggees.Breakpoints.List
list(String debuggeeId)
Returns the list of all active breakpoints for the debuggee.
CloudDebugger.Controller.Debuggees.Breakpoints.Update
update(String debuggeeId,
String id,
UpdateActiveBreakpointRequest content)
Updates the breakpoint state or mutable fields.
-
-
Method Detail
-
list
public CloudDebugger.Controller.Debuggees.Breakpoints.List list(String debuggeeId)
throws IOException
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.
Create a request for the method "breakpoints.list".
This request holds the parameters needed by the clouddebugger server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
debuggeeId
- Required. Identifies the debuggee.
- Returns:
- the request
- Throws:
IOException
-
update
public CloudDebugger.Controller.Debuggees.Breakpoints.Update update(String debuggeeId,
String id,
UpdateActiveBreakpointRequest content)
throws IOException
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.
Create a request for the method "breakpoints.update".
This request holds the parameters needed by the clouddebugger server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
debuggeeId
- Required. Identifies the debuggee being debugged.
id
- Breakpoint identifier, unique in the scope of the debuggee.
content
- the UpdateActiveBreakpointRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy