Unhandled exception not caught in C#
问题 I am using following code to handle all the unhandled exceptions in the program. But the problem that the exception is not propagated to the specified methods. [STAThread] static void Main() { AppDomain currentDomain = default(AppDomain); currentDomain = AppDomain.CurrentDomain; Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); // Handler for unhandled exceptions. currentDomain.UnhandledException += GlobalUnhandledExceptionHandler; // Handler for exceptions in