Class Debugger2ClientImpl (2.3.0)

public sealed class Debugger2ClientImpl : Debugger2Client

Debugger2 client wrapper implementation, for convenient use.

Inheritance

Object > Debugger2Client > Debugger2ClientImpl

Namespace

Google.Cloud.Debugger.V2

Assembly

Google.Cloud.Debugger.V2.dll

Remarks

The Debugger service provides the API that allows users to collect run-time information from a running application, without stopping or slowing it down and without modifying its state. An application may include one or more replicated processes performing the same work.

A debugged application is represented using the Debuggee concept. The Debugger service provides a way to query for available debuggees, but does not provide a way to create one. A debuggee is created using the Controller service, usually by running a debugger agent with the application.

The Debugger service enables the client to set one or more Breakpoints on a Debuggee and collect the results of the set Breakpoints.

Constructors

Debugger2ClientImpl(Debugger2.Debugger2Client, Debugger2Settings)

public Debugger2ClientImpl(Debugger2.Debugger2Client grpcClient, Debugger2Settings settings)

Constructs a client wrapper for the Debugger2 service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientDebugger2.Debugger2Client

The underlying gRPC client.

settingsDebugger2Settings

The base Debugger2Settings used within this client.

Properties

GrpcClient

public override Debugger2.Debugger2Client GrpcClient { get; }

The underlying gRPC Debugger2 client

Property Value
TypeDescription
Debugger2.Debugger2Client
Overrides

Methods

DeleteBreakpoint(DeleteBreakpointRequest, CallSettings)

public override void DeleteBreakpoint(DeleteBreakpointRequest request, CallSettings callSettings = null)

Deletes the breakpoint from the debuggee.

Parameters
NameDescription
requestDeleteBreakpointRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteBreakpointAsync(DeleteBreakpointRequest, CallSettings)

public override Task DeleteBreakpointAsync(DeleteBreakpointRequest request, CallSettings callSettings = null)

Deletes the breakpoint from the debuggee.

Parameters
NameDescription
requestDeleteBreakpointRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

GetBreakpoint(GetBreakpointRequest, CallSettings)

public override GetBreakpointResponse GetBreakpoint(GetBreakpointRequest request, CallSettings callSettings = null)

Gets breakpoint information.

Parameters
NameDescription
requestGetBreakpointRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
GetBreakpointResponse

The RPC response.

Overrides

GetBreakpointAsync(GetBreakpointRequest, CallSettings)

public override Task<GetBreakpointResponse> GetBreakpointAsync(GetBreakpointRequest request, CallSettings callSettings = null)

Gets breakpoint information.

Parameters
NameDescription
requestGetBreakpointRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<GetBreakpointResponse>

A Task containing the RPC response.

Overrides

ListBreakpoints(ListBreakpointsRequest, CallSettings)

public override ListBreakpointsResponse ListBreakpoints(ListBreakpointsRequest request, CallSettings callSettings = null)

Lists all breakpoints for the debuggee.

Parameters
NameDescription
requestListBreakpointsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ListBreakpointsResponse

The RPC response.

Overrides

ListBreakpointsAsync(ListBreakpointsRequest, CallSettings)

public override Task<ListBreakpointsResponse> ListBreakpointsAsync(ListBreakpointsRequest request, CallSettings callSettings = null)

Lists all breakpoints for the debuggee.

Parameters
NameDescription
requestListBreakpointsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ListBreakpointsResponse>

A Task containing the RPC response.

Overrides

ListDebuggees(ListDebuggeesRequest, CallSettings)

public override ListDebuggeesResponse ListDebuggees(ListDebuggeesRequest request, CallSettings callSettings = null)

Lists all the debuggees that the user has access to.

Parameters
NameDescription
requestListDebuggeesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ListDebuggeesResponse

The RPC response.

Overrides

ListDebuggeesAsync(ListDebuggeesRequest, CallSettings)

public override Task<ListDebuggeesResponse> ListDebuggeesAsync(ListDebuggeesRequest request, CallSettings callSettings = null)

Lists all the debuggees that the user has access to.

Parameters
NameDescription
requestListDebuggeesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ListDebuggeesResponse>

A Task containing the RPC response.

Overrides

SetBreakpoint(SetBreakpointRequest, CallSettings)

public override SetBreakpointResponse SetBreakpoint(SetBreakpointRequest request, CallSettings callSettings = null)

Sets the breakpoint to the debuggee.

Parameters
NameDescription
requestSetBreakpointRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SetBreakpointResponse

The RPC response.

Overrides

SetBreakpointAsync(SetBreakpointRequest, CallSettings)

public override Task<SetBreakpointResponse> SetBreakpointAsync(SetBreakpointRequest request, CallSettings callSettings = null)

Sets the breakpoint to the debuggee.

Parameters
NameDescription
requestSetBreakpointRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<SetBreakpointResponse>

A Task containing the RPC response.

Overrides