/// <summary>Snippet for ListDebuggees</summary> public void ListDebuggees() { // Snippet: ListDebuggees(string,string,CallSettings) // Create client Debugger2Client debugger2Client = Debugger2Client.Create(); // Initialize request argument(s) string project = ""; string clientVersion = ""; // Make the request ListDebuggeesResponse response = debugger2Client.ListDebuggees(project, clientVersion); // End snippet }
/// <summary>Snippet for SetBreakpoint</summary> public void SetBreakpoint() { // Snippet: SetBreakpoint(string,Breakpoint,string,CallSettings) // Create client Debugger2Client debugger2Client = Debugger2Client.Create(); // Initialize request argument(s) string debuggeeId = ""; Breakpoint breakpoint = new Breakpoint(); string clientVersion = ""; // Make the request SetBreakpointResponse response = debugger2Client.SetBreakpoint(debuggeeId, breakpoint, clientVersion); // End snippet }
/// <summary>Snippet for DeleteBreakpoint</summary> public void DeleteBreakpoint() { // Snippet: DeleteBreakpoint(string,string,string,CallSettings) // Create client Debugger2Client debugger2Client = Debugger2Client.Create(); // Initialize request argument(s) string debuggeeId = ""; string breakpointId = ""; string clientVersion = ""; // Make the request debugger2Client.DeleteBreakpoint(debuggeeId, breakpointId, clientVersion); // End snippet }
/// <summary>Snippet for ListDebuggees</summary> public void ListDebuggees_RequestObject() { // Snippet: ListDebuggees(ListDebuggeesRequest,CallSettings) // Create client Debugger2Client debugger2Client = Debugger2Client.Create(); // Initialize request argument(s) ListDebuggeesRequest request = new ListDebuggeesRequest { Project = "", ClientVersion = "", }; // Make the request ListDebuggeesResponse response = debugger2Client.ListDebuggees(request); // End snippet }
/// <summary>Snippet for SetBreakpoint</summary> public void SetBreakpoint_RequestObject() { // Snippet: SetBreakpoint(SetBreakpointRequest,CallSettings) // Create client Debugger2Client debugger2Client = Debugger2Client.Create(); // Initialize request argument(s) SetBreakpointRequest request = new SetBreakpointRequest { DebuggeeId = "", Breakpoint = new Breakpoint(), ClientVersion = "", }; // Make the request SetBreakpointResponse response = debugger2Client.SetBreakpoint(request); // End snippet }
/// <summary>Snippet for DeleteBreakpoint</summary> public void DeleteBreakpoint_RequestObject() { // Snippet: DeleteBreakpoint(DeleteBreakpointRequest,CallSettings) // Create client Debugger2Client debugger2Client = Debugger2Client.Create(); // Initialize request argument(s) DeleteBreakpointRequest request = new DeleteBreakpointRequest { DebuggeeId = "", BreakpointId = "", ClientVersion = "", }; // Make the request debugger2Client.DeleteBreakpoint(request); // End snippet }
/// <summary>Snippet for ListBreakpoints</summary> public void ListBreakpointsRequestObject() { // Snippet: ListBreakpoints(ListBreakpointsRequest, CallSettings) // Create client Debugger2Client debugger2Client = Debugger2Client.Create(); // Initialize request argument(s) ListBreakpointsRequest request = new ListBreakpointsRequest { DebuggeeId = "", IncludeAllUsers = false, IncludeInactive = false, Action = new ListBreakpointsRequest.Types.BreakpointActionValue(), WaitToken = "", ClientVersion = "", }; // Make the request ListBreakpointsResponse response = debugger2Client.ListBreakpoints(request); // End snippet }
public DebuggerPolling() { Client = Debugger2Client.Create(); _projectId = Utils.GetProjectIdFromEnvironment(); }