Class Debugger2Connection (2.11.0)

This interface defines virtual methods for each of the user-facing overload sets in Debugger2Client. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type Debugger2Client.

To create a concrete instance, see MakeDebugger2Connection().

For mocking, see debugger_v2_mocks::MockDebugger2Connection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual SetBreakpoint(google::devtools::clouddebugger::v2::SetBreakpointRequest const &)

Parameter
NameDescription
request google::devtools::clouddebugger::v2::SetBreakpointRequest const &
Returns
TypeDescription
StatusOr< google::devtools::clouddebugger::v2::SetBreakpointResponse >

virtual GetBreakpoint(google::devtools::clouddebugger::v2::GetBreakpointRequest const &)

Parameter
NameDescription
request google::devtools::clouddebugger::v2::GetBreakpointRequest const &
Returns
TypeDescription
StatusOr< google::devtools::clouddebugger::v2::GetBreakpointResponse >

virtual DeleteBreakpoint(google::devtools::clouddebugger::v2::DeleteBreakpointRequest const &)

Parameter
NameDescription
request google::devtools::clouddebugger::v2::DeleteBreakpointRequest const &
Returns
TypeDescription
Status

virtual ListBreakpoints(google::devtools::clouddebugger::v2::ListBreakpointsRequest const &)

Parameter
NameDescription
request google::devtools::clouddebugger::v2::ListBreakpointsRequest const &
Returns
TypeDescription
StatusOr< google::devtools::clouddebugger::v2::ListBreakpointsResponse >

virtual ListDebuggees(google::devtools::clouddebugger::v2::ListDebuggeesRequest const &)

Parameter
NameDescription
request google::devtools::clouddebugger::v2::ListDebuggeesRequest const &
Returns
TypeDescription
StatusOr< google::devtools::clouddebugger::v2::ListDebuggeesResponse >