private void HandleStateDisplaying() { if (debugger.Mode.HasFlag(DebugMode.DisplayState)) { StateDisplayer.Display(this.decorated); } }
private void HandleDebugging(Instruction currentInstruction) { if (debugger.Mode.HasFlag(DebugMode.EnableLogging)) { StateDisplayer.Display(currentInstruction); } HandleStateDisplaying(); if (debugger.Mode.HasFlag(DebugMode.StepByStep)) { Console.ReadKey(); Console.SetCursorPosition(0, Console.CursorTop); } }