From c069c4f004ba48598135faff8a653da45e71be02 Mon Sep 17 00:00:00 2001 From: dmex04 Date: Wed, 7 Oct 2009 22:25:50 +0000 Subject: [PATCH] set threadscope for catching more exceptions on other threads git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2094 21ef857c-d57f-4fe0-8362-d861dc6d29cd --- trunk/ProcessHacker/Program/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/ProcessHacker/Program/Program.cs b/trunk/ProcessHacker/Program/Program.cs index 0c33f3fa3..2e648ad69 100644 --- a/trunk/ProcessHacker/Program/Program.cs +++ b/trunk/ProcessHacker/Program/Program.cs @@ -128,7 +128,7 @@ namespace ProcessHacker // Setup exception handling at first opportunity to catch exceptions generatable anywhere. Application.ThreadException += new ThreadExceptionEventHandler(Application_ThreadException); AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); - Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); + Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException, true); try {