projects
/
tools
/
apitrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96d9dda
)
Add comment about SetUnhandledExceptionFilter
author
José Fonseca
<jose.r.fonseca@gmail.com>
Tue, 11 Oct 2011 19:29:02 +0000
(20:29 +0100)
committer
José Fonseca
<jose.r.fonseca@gmail.com>
Tue, 11 Oct 2011 19:29:40 +0000
(20:29 +0100)
common/os_win32.cpp
patch
|
blob
|
history
diff --git
a/common/os_win32.cpp
b/common/os_win32.cpp
index
c677392
..
654db16
100644
(file)
--- a/
common/os_win32.cpp
+++ b/
common/os_win32.cpp
@@
-161,6
+161,12
@@
SetExceptionCallback(void (*callback)(void))
gCallback = callback;
assert(!prevExceptionFilter);
+
+ /*
+ * TODO: Unfortunately it seems that the CRT will reset the exception
+ * handler in certain circumnstances. See
+ * http://www.codeproject.com/KB/winsdk/crash_hook.aspx
+ */
prevExceptionFilter = SetUnhandledExceptionFilter(UnhandledExceptionFilter);
}
}