display Delphi library exceptions in debug log

svn path=/trunk/; revision=31912
This commit is contained in:
Christoph von Wittich 2008-01-21 11:02:14 +00:00
parent dcc20b8f3c
commit 0243a7af4e

View file

@ -391,6 +391,12 @@ RaiseException(IN DWORD dwExceptionCode,
}
}
if (dwExceptionCode == 0xeedface)
{
DPRINT1("Delphi Exception at address: %p\n", ExceptionRecord.ExceptionInformation[0]);
DPRINT1("Exception-Object: %p\n", ExceptionRecord.ExceptionInformation[1]);
}
/* Raise the exception */
RtlRaiseException(&ExceptionRecord);
}