protected override void DoHandle([NotNull] GameHttpContext context, [NotNull] IDebugger debugger) { var gameStepResult = debugger.Restart(); var response = new DebuggerStepResponse { StoppedOnBreakpoint = gameStepResult.StoppedInBreakpoint, GameState = debugger.State.GameState }; context.SendResponse(response); }
public void Activate() { if (active != ActiveState.NotStarted) throw new InvalidOperationException("Wrong state"); active = ActiveState.Active; dbg = zm.Debug(); src = new SourceCache(sourcePath); io.PutString("ZLR Debugger\n"); dbg.Restart(); ShowStatus(); }
public void Activate() { if (active != ActiveState.NotStarted) { throw new InvalidOperationException("Wrong state"); } active = ActiveState.Active; dbg = zm.Debug(); src = new SourceCache(sourcePath); io.PutString("ZLR Debugger\n"); dbg.Restart(); ShowStatus(); }