Пример #1
0
        public override Task <SetCommandLineCommandsResponse> SetCommandLineCommands(
            SetCommandLineCommandsRequest request, ServerCallContext context)
        {
            var breakpoint = GetBreakpoint(_targetStore, request.Breakpoint);

            breakpoint.SetCommandLineCommands(request.Commands.ToList());
            return(Task.FromResult(new SetCommandLineCommandsResponse {
            }));
        }
Пример #2
0
        public void SetCommandLineCommands(IEnumerable <string> commands)
        {
            var request = new SetCommandLineCommandsRequest
            {
                Breakpoint = grpcSbBreakpoint
            };

            request.Commands.AddRange(commands);
            connection.InvokeRpc(() =>
            {
                client.SetCommandLineCommands(request);
            });
        }