Exemple #1
0
        private Result NewPosition(Field field, StepTo stepTo)
        {
            switch (stepTo)
            {
            case StepTo.W:
                return(CheckNextStepW(field));

            case StepTo.A:
                return(CheckNextStepA(field));

            case StepTo.S:
                return(CheckNextStepS(field));

            case StepTo.D:
                return(CheckNextStepD(field));
            }
            return(Result.Loose);
        }
Exemple #2
0
 private void btnBarResume_ItemClick(object sender, ItemClickEventArgs e)
 {
     if (Runner != null && Runner.State == Keyrox.Scripting.Util.RunnerState.Running && Runner.InDebugMode) {
         RestoreRows();
         Editor.Refresh();
         StopDebuggerIn = StepTo.None;
         Editor.Document.ClearBreakpoints();
         Runner.ResumeExecution();
     }
 }