Commit c727fe4a authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Add a trace when calling vectored exception handlers too.

parent 5dcdb4ab
...@@ -243,7 +243,10 @@ static LONG call_vectored_handlers( EXCEPTION_RECORD *rec, CONTEXT *context ) ...@@ -243,7 +243,10 @@ static LONG call_vectored_handlers( EXCEPTION_RECORD *rec, CONTEXT *context )
LIST_FOR_EACH( ptr, &vectored_handlers ) LIST_FOR_EACH( ptr, &vectored_handlers )
{ {
VECTORED_HANDLER *handler = LIST_ENTRY( ptr, VECTORED_HANDLER, entry ); 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 ); ret = handler->func( &except_ptrs );
TRACE( "handler at %p returned %x\n", handler->func, ret );
if (ret == EXCEPTION_CONTINUE_EXECUTION) break; if (ret == EXCEPTION_CONTINUE_EXECUTION) break;
} }
RtlLeaveCriticalSection( &vectored_handlers_section ); RtlLeaveCriticalSection( &vectored_handlers_section );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment