How to debug fatal exceptions on Windows?

Eli Zaretskii eliz@gnu.org
Tue Aug 6 19:25:00 GMT 2013


> From: Paweł Sikora <pawel.sikora@agmk.net>
> Date: Tue, 06 Aug 2013 20:49:54 +0200
> 
> from the winapi level you can use AddVectoredExceptionHandler (winapi) to install custom exception filter
> at the first position in the chain. next, from the exception filter you can examine suitable ExceptionRecord->ExceptionCode,
> and examine ContextRecord for more details.
> 
> the easier way is to use http://code.google.com/p/backtrace-mingw/

Thanks, I will study these.  Emacs already have a backtrace facility,
so I guess only the exception analysis stuff needs to be upgraded.



More information about the Gdb mailing list