public void Stopped(DllDebugger debugger, CorThread thread) { Console.ForegroundColor = ConsoleColor.Black; Console.BackgroundColor = ConsoleColor.Green; Console.Out.Write("Thread [{0}]", thread.Id); Console.BackgroundColor = ConsoleColor.Black; Console.ForegroundColor = ConsoleColor.Red; Console.Out.Write(" (ct=Continue, stov=Step Over, stin=Step In, trc=Stack Trace, det=Detach): "); Console.ForegroundColor = ConsoleColor.Green; var line = Console.In.ReadLine(); var transcribed = line.ToLower(); if (transcribed.Contains("ct")) return; if (transcribed.Contains("stov")) debugger.StepOver(thread); else if (transcribed.Contains("stin")) debugger.StepInto(thread); else if (transcribed.Contains("trc")) debugger.ShowStackTrace(thread); else if (transcribed.Contains("locals")) debugger.ShowLocals(thread); else if (transcribed.Contains("br")) SetBreakpoint(transcribed, debugger); else if (transcribed.Contains("det")) debugger.Detach(); else Stopped(debugger, thread); }