public async void Restart() { if (CurrentDebugger != null) { PrepareToRun(); await CurrentDebugger.ResetAsync(true); } }