From 110fc5dee14fc7988f631a158e50d283446aba7a Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:24:09 +0200 Subject: 5.15 --- zen/debug_minidump.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'zen/debug_minidump.cpp') diff --git a/zen/debug_minidump.cpp b/zen/debug_minidump.cpp index c229b4aa..1b625015 100644 --- a/zen/debug_minidump.cpp +++ b/zen/debug_minidump.cpp @@ -55,7 +55,9 @@ void debug_tools::writeMinidump() { ::RaiseException(EXCEPTION_BREAKPOINT, 0, 0, nullptr); } - __except (writeDumpOnException(GetExceptionInformation()), EXCEPTION_CONTINUE_EXECUTION) {} + __except (writeDumpOnException(GetExceptionInformation()), EXCEPTION_EXECUTE_HANDLER) {} + //don't use EXCEPTION_CONTINUE_EXECUTION: although used in most minidump examples this resulted in an infinite loop in tests + //although it really should not: http://msdn.microsoft.com/en-us/library/c34eyfac.aspx } -- cgit