Resume program execution after handling an unhandled exception
问题 Question: I catch generally unhandled exceptions with AddHandler System.AppDomain.CurrentDomain.UnhandledException, AddressOf OnUnhandledException The problem now is, with this exception handler Public Sub OnUnhandledException(ByVal sender As Object, ByVal e As UnhandledExceptionEventArgs) Console.WriteLine(e.ExceptionObject.ToString()) Console.WriteLine("Press Enter to continue") Console.ReadLine() 'Environment.Exit(1) End Sub program execution still throws the exception if I don't exit the