From c727fe4adcfb1b54df87bf01e5a0253860b84c19 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 2 Feb 2009 16:22:06 +0100 Subject: [PATCH] ntdll: Add a trace when calling vectored exception handlers too. --- dlls/ntdll/exception.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/ntdll/exception.c b/dlls/ntdll/exception.c index 91a269bd804..f7ae9475d20 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 );