/// <summary> /// Runs the program. Execution stops if either a breakpoint is hit, /// an exception is thrown or if <c>Pause</c> method was called. /// </summary> public void Run() { if (Engine == null) { throw new NoProgramLoadedException(); } Engine.Continue(); }
/// <summary> /// Performs a single step (generally, executes a single instruction). /// </summary> public void StepInto() { if (Engine == null) { throw new NoProgramLoadedException(); } Breakpoints.Add(new StepBreakpoint(Target.ProgramLocation, StepKind.Into)); Engine.Continue(); }