OSDN Git Service

Don't catch exceptions in debug mode.
authorLatif Khalifa <latifer@streamgrid.net>
Sun, 27 Sep 2009 15:02:48 +0000 (15:02 +0000)
committerLatif Khalifa <latifer@streamgrid.net>
Sun, 27 Sep 2009 15:02:48 +0000 (15:02 +0000)
git-svn-id: https://radegast.googlecode.com/svn/trunk@273 f7a694da-4d33-11de-9ad6-1127a62b9fcd

Radegast/Core/RadegastInstance.cs

index bfeeeca..a285e97 100644 (file)
@@ -151,8 +151,10 @@ namespace Radegast
         {\r
             // incase something else calls GlobalInstance while we are loading\r
             globalInstance = this;\r
+#if !DEBUG\r
             Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);\r
             Application.ThreadException += HandleThreadException;\r
+#endif\r
             client = client0;\r
 \r
             // Are we running mono?\r