private Runtime RunImpl(RuntimeStepType stepType, RuntimeSettings settings = null) { currentRuntime = CreateRuntimeInstance(settings); isRunning = true; isDebugging = stepType == RuntimeStepType.StepByStep; return(currentRuntime.Run(stepType)); }
public Runtime Run(RuntimeStepType stepType) { if (stepType == RuntimeStepType.Complete) { RunToEnd(); } else if (stepType == RuntimeStepType.StepByStep) { RunNextStep(); } else { throw new NotImplementedException(); } return(this); }