private void App_UnhandledException(object sender, UnhandledExceptionEventArgs e) { Debug.WriteLine(e.Exception.ToString()); }