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);
        }
Beispiel #2
0
        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();
        }
Beispiel #3
0
        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();
        }