diff --git a/src/debug.c b/src/debug.c index f418d72..990fe50 100644 --- a/src/debug.c +++ b/src/debug.c @@ -46,6 +46,11 @@ int dbg_exception_handler(EXCEPTION_POINTERS* exception) CloseHandle(dmp); } + dbg_printf( + "Exception at %p (%08X)\n", + exception->ExceptionRecord->ExceptionAddress, + exception->ExceptionRecord->ExceptionCode); + return EXCEPTION_EXECUTE_HANDLER; } #endif