static void Application_UnhandledException1(object sender, Urho.UnhandledExceptionEventArgs e) { if (Debugger.IsAttached && !e.Exception.Message.Contains("BlueHighway.ttf")) { Debugger.Break(); } e.Handled = true; }
static void Application_UnhandledException(object sender, Urho.UnhandledExceptionEventArgs e) { var ex = e.Exception; var t = ex.GetType(); //if (Debugger.IsAttached) // Debugger.Break(); e.Handled = true; }
static void ErrorRecovery(object s, Urho.UnhandledExceptionEventArgs e) { if (Debugger.IsAttached) { //Debugger.Break(); } string message = $"Native exception occured: {e.Exception.Message}"; Urho.IO.Log.Write(LogLevel.Error, message); //e.Handled = true; /* * LevelManager.CurrentLevel?.End(); * Instance.MenuController.InitialSwitchToMainMenu("Game error", message); */ }
void OnUnhandledException(object sender, Urho.UnhandledExceptionEventArgs e) { e.Handled = true; System.Console.WriteLine(e); }
private void Application_UnhandledException(object sender, Urho.UnhandledExceptionEventArgs e) { e.Handled = true; }
static void Application_UnhandledException(object sender, Urho.UnhandledExceptionEventArgs e) { Shared.Log.Error(e.Exception, "Unhandled Urho exception"); e.Handled = true; }
void UrhoApp_UnhandledException(object sender, Urho.UnhandledExceptionEventArgs e) { }
private void UrhoViewApp_UnhandledException(object sender, Urho.UnhandledExceptionEventArgs e) { e.Handled = true; }