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); } }
public static void Break() { DebugService.Break(); }