Method: debugger.debuggees.breakpoints.set

Sets the breakpoint to the debuggee.

HTTP request

POST https://clouddebugger.googleapis.com/v2/debugger/debuggees/{debuggeeId}/breakpoints/set

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
debuggeeId

string

Required. ID of the debuggee where the breakpoint is to be set.

Query parameters

Parameters
clientVersion

string

Required. The client version making the call. Schema: domain/type/version (e.g., google.com/intellij/v1).

canaryOption

enum (CanaryOption)

The canary option set by the user upon setting breakpoint.

Request body

The request body contains an instance of Breakpoint.

Response body

If successful, the response body contains data with the following structure:

Response for setting a breakpoint.

JSON representation
{
  "breakpoint": {
    object (Breakpoint)
  }
}
Fields
breakpoint

object (Breakpoint)

Breakpoint resource. The field id is guaranteed to be set (in addition to the echoed fields).

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud_debugger
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

CanaryOption

Canary option

Enums
CANARY_OPTION_UNSPECIFIED Depends on the canaryMode of the debuggee.
CANARY_OPTION_TRY_ENABLE Enable the canary for this breakpoint if the canaryMode of the debuggee is not CANARY_MODE_ALWAYS_ENABLED or CANARY_MODE_ALWAYS_DISABLED.
CANARY_OPTION_TRY_DISABLE Disable the canary for this breakpoint if the canaryMode of the debuggee is not CANARY_MODE_ALWAYS_ENABLED or CANARY_MODE_ALWAYS_DISABLED.