summaryrefslogtreecommitdiff
path: root/zen/debug_minidump.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:24:09 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:24:09 +0200
commit110fc5dee14fc7988f631a158e50d283446aba7a (patch)
tree7c19dfd3bdb8c4636409ec80a38c70499ac006db /zen/debug_minidump.cpp
parent5.14 (diff)
downloadFreeFileSync-110fc5dee14fc7988f631a158e50d283446aba7a.tar.gz
FreeFileSync-110fc5dee14fc7988f631a158e50d283446aba7a.tar.bz2
FreeFileSync-110fc5dee14fc7988f631a158e50d283446aba7a.zip
5.15
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