Alexandre Julliard : ntdll: Add a trace when calling vectored exception handlers too.
Alexandre Julliard
julliard at winehq.org
Tue Feb 3 09:13:01 CST 2009
Module: wine
Branch: master
Commit: c727fe4adcfb1b54df87bf01e5a0253860b84c19
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c727fe4adcfb1b54df87bf01e5a0253860b84c19
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Feb 2 16:22:06 2009 +0100
ntdll: Add a trace when calling vectored exception handlers too.
---
dlls/ntdll/exception.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/exception.c b/dlls/ntdll/exception.c
index 91a269b..f7ae947 100644
--- a/dlls/ntdll/exception.c
+++ b/dlls/ntdll/exception.c
@@ -243,7 +243,10 @@ static LONG call_vectored_handlers( EXCEPTION_RECORD *rec, CONTEXT *context )
LIST_FOR_EACH( ptr, &vectored_handlers )
{
VECTORED_HANDLER *handler = LIST_ENTRY( ptr, VECTORED_HANDLER, entry );
+ TRACE( "calling handler at %p code=%x flags=%x\n",
+ handler->func, rec->ExceptionCode, rec->ExceptionFlags );
ret = handler->func( &except_ptrs );
+ TRACE( "handler at %p returned %x\n", handler->func, ret );
if (ret == EXCEPTION_CONTINUE_EXECUTION) break;
}
RtlLeaveCriticalSection( &vectored_handlers_section );
More information about the wine-cvs
mailing list