LRN: Adding vectored exception handling for W32 (#1965)
authorChristian Grothoff <christian@grothoff.org>
Thu, 1 Dec 2011 09:17:27 +0000 (09:17 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 1 Dec 2011 09:17:27 +0000 (09:17 +0000)
commit6541f51cd40b8df8f424f7654380fec73241529e
tree9d7cd352deff6954144897afca08229f939a74a4
parent8e7e5b7c8ab504a686e52c36d210db86284b75f1
LRN: Adding vectored exception handling for W32 (#1965)

Whenever an exception occurs, and the process is not being debugged, it will run a debugger specified by GNUNET_DEBUGGER environment variable, and wait for it to attach.
The net effect is the same as using JIT debugging (AeDebug), but without the stack being broken by SEH (because VEH has a priority over SEH), which allows for fuller backtraces for any exception, not just for GNUNET_abort() calls.
src/datastore/perf_plugin_datastore.c
src/util/winproc.c