From: José Fonseca Date: Thu, 27 Sep 2012 18:33:09 +0000 (+0100) Subject: Ignore .NET exceptions. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=7a381ff57d1616c9b80f67b9a0626beede8443ce;p=apitrace Ignore .NET exceptions. --- diff --git a/common/os_win32.cpp b/common/os_win32.cpp index 617928c..e9306cd 100644 --- a/common/os_win32.cpp +++ b/common/os_win32.cpp @@ -275,6 +275,15 @@ unhandledExceptionHandler(PEXCEPTION_POINTERS pExceptionInfo) return EXCEPTION_CONTINUE_SEARCH; } + /* + * Ignore .NET exception. + * + * http://ig2600.blogspot.co.uk/2011/01/why-do-i-keep-getting-exception-code.html + */ + if (pExceptionRecord->ExceptionCode == 0xe0434352) { + return EXCEPTION_CONTINUE_SEARCH; + } + // Clear direction flag #ifdef _MSC_VER #ifndef _WIN64