Exemplo n.º 1
0
        private void DebugBreak()
        {
#if SINGULARITY_KERNEL
            DebugStub.Break();
#elif SINGULARITY_PROCESS
            DebugService.Break();
#endif // SINGULARITY_PROCESS
        }
 public Task <PauseResponse> Handle(PauseArguments request, CancellationToken cancellationToken)
 {
     try
     {
         _debugService.Break();
         return(Task.FromResult(new PauseResponse()));
     }
     catch (NotSupportedException e)
     {
         throw new RpcErrorException(0, e.Message);
     }
 }
Exemplo n.º 3
0
 public static void Break()
 {
     DebugService.Break();
 }