private Jint.Runtime.Debugger.StepMode C_Step(object sender, Jint.Runtime.Debugger.DebugInformation e) { if (mOutputConsole != null) { mOutputConsole.WriteString(string.Format("Line {1}: {0}\n", e.CurrentStatement.ToString(), e.CurrentStatement.Location.Start.Line)); } while (mDebugWait && !mDoStep) { Thread.Sleep(200); } mDoStep = false; return(Jint.Runtime.Debugger.StepMode.Over); }