public sealed class Debugger2ClientImpl : Debugger2Client
Reference documentation and code samples for the Google Cloud Debugger v2 API class Debugger2ClientImpl.
Debugger2 client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Debugger.V2Assembly
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(Debugger2Client, Debugger2Settings, ILogger)
public Debugger2ClientImpl(Debugger2.Debugger2Client grpcClient, Debugger2Settings settings, ILogger logger)
Constructs a client wrapper for the Debugger2 service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | Debugger2Debugger2Client The underlying gRPC client. |
settings | Debugger2Settings The base Debugger2Settings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override Debugger2.Debugger2Client GrpcClient { get; }
The underlying gRPC Debugger2 client
Property Value | |
---|---|
Type | Description |
Debugger2Debugger2Client |
Methods
DeleteBreakpoint(DeleteBreakpointRequest, CallSettings)
public override void DeleteBreakpoint(DeleteBreakpointRequest request, CallSettings callSettings = null)
Deletes the breakpoint from the debuggee.
Parameters | |
---|---|
Name | Description |
request | DeleteBreakpointRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteBreakpointAsync(DeleteBreakpointRequest, CallSettings)
public override Task DeleteBreakpointAsync(DeleteBreakpointRequest request, CallSettings callSettings = null)
Deletes the breakpoint from the debuggee.
Parameters | |
---|---|
Name | Description |
request | DeleteBreakpointRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
GetBreakpoint(GetBreakpointRequest, CallSettings)
public override GetBreakpointResponse GetBreakpoint(GetBreakpointRequest request, CallSettings callSettings = null)
Gets breakpoint information.
Parameters | |
---|---|
Name | Description |
request | GetBreakpointRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
GetBreakpointResponse | The RPC response. |
GetBreakpointAsync(GetBreakpointRequest, CallSettings)
public override Task<GetBreakpointResponse> GetBreakpointAsync(GetBreakpointRequest request, CallSettings callSettings = null)
Gets breakpoint information.
Parameters | |
---|---|
Name | Description |
request | GetBreakpointRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskGetBreakpointResponse | A Task containing the RPC response. |
ListBreakpoints(ListBreakpointsRequest, CallSettings)
public override ListBreakpointsResponse ListBreakpoints(ListBreakpointsRequest request, CallSettings callSettings = null)
Lists all breakpoints for the debuggee.
Parameters | |
---|---|
Name | Description |
request | ListBreakpointsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ListBreakpointsResponse | The RPC response. |
ListBreakpointsAsync(ListBreakpointsRequest, CallSettings)
public override Task<ListBreakpointsResponse> ListBreakpointsAsync(ListBreakpointsRequest request, CallSettings callSettings = null)
Lists all breakpoints for the debuggee.
Parameters | |
---|---|
Name | Description |
request | ListBreakpointsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskListBreakpointsResponse | A Task containing the RPC response. |
ListDebuggees(ListDebuggeesRequest, CallSettings)
public override ListDebuggeesResponse ListDebuggees(ListDebuggeesRequest request, CallSettings callSettings = null)
Lists all the debuggees that the user has access to.
Parameters | |
---|---|
Name | Description |
request | ListDebuggeesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ListDebuggeesResponse | The RPC response. |
ListDebuggeesAsync(ListDebuggeesRequest, CallSettings)
public override Task<ListDebuggeesResponse> ListDebuggeesAsync(ListDebuggeesRequest request, CallSettings callSettings = null)
Lists all the debuggees that the user has access to.
Parameters | |
---|---|
Name | Description |
request | ListDebuggeesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskListDebuggeesResponse | A Task containing the RPC response. |
SetBreakpoint(SetBreakpointRequest, CallSettings)
public override SetBreakpointResponse SetBreakpoint(SetBreakpointRequest request, CallSettings callSettings = null)
Sets the breakpoint to the debuggee.
Parameters | |
---|---|
Name | Description |
request | SetBreakpointRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
SetBreakpointResponse | The RPC response. |
SetBreakpointAsync(SetBreakpointRequest, CallSettings)
public override Task<SetBreakpointResponse> SetBreakpointAsync(SetBreakpointRequest request, CallSettings callSettings = null)
Sets the breakpoint to the debuggee.
Parameters | |
---|---|
Name | Description |
request | SetBreakpointRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskSetBreakpointResponse | A Task containing the RPC response. |