protected override StepBackResponse HandleStepBackRequest(StepBackArguments arguments)
        {
            try
            {
                if (session == null)
                {
                    throw new InvalidOperationException();
                }

                session.StepBack();
                return(new StepBackResponse());
            }
            catch (Exception ex)
            {
                Log(ex.Message, LogCategory.DebugAdapterOutput);
                throw new ProtocolException(ex.Message, ex);
            }
        }
Exemple #2
0
 public Task <StepBackResponse> Handle(StepBackArguments request, CancellationToken cancellationToken)
 {
     Count++;
     return(Task.FromResult(new StepBackResponse()));
 }