summaryrefslogtreecommitdiff
path: root/zen/debug_minidump.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zen/debug_minidump.cpp')
-rw-r--r--zen/debug_minidump.cpp4
1 files changed, 3 insertions, 1 deletions
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
}
bgstack15