public void Stop() { if (CurrentDebugger != null) { if (!IsUpdating) { PrepareToRun(); ignoreEvents = true; StopDebugSession(); ignoreEvents = false; } } }