This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: How to debug fatal exceptions on Windows?
- From: Eli Zaretskii <eliz at gnu dot org>
- To: PaweÅ Sikora <pawel dot sikora at agmk dot net>
- Cc: gdb at sourceware dot org
- Date: Tue, 06 Aug 2013 22:25:08 +0300
- Subject: Re: How to debug fatal exceptions on Windows?
- References: <83y58evno4 dot fsf at gnu dot org> <2613537 dot P6K19m4un9 at localhost>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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.