mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
readded !Debug to disable exception handlers in debug mode, fixed ExtendedListView native string creation, changed ExtendedListView tests
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2145 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -125,11 +125,13 @@ namespace ProcessHacker
|
||||
Environment.Exit(1);
|
||||
}
|
||||
|
||||
#if !DEBUG
|
||||
// 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, true);
|
||||
|
||||
#endif
|
||||
try
|
||||
{
|
||||
pArgs = ParseArgs(args);
|
||||
|
||||
Reference in New Issue
Block a user