add dumping of locked handles to missing places.

svn path=/trunk/; revision=50970
This commit is contained in:
Timo Kreuzer 2011-03-05 11:13:45 +00:00
parent a528924f3b
commit 9aa651bf4e

View file

@ -325,6 +325,7 @@ DbgPreServiceHook(ULONG ulSyscallId, PULONG_PTR pulArguments)
{
DbgPrint("FATAL: Win32DbgPreServiceHook(%ld): There are %ld exclusive locks!\n",
ulSyscallId, pti->cExclusiveLocks);
GdiDbgDumpLockedHandles();
ASSERT(FALSE);
}
@ -339,6 +340,7 @@ DbgPostServiceHook(ULONG ulSyscallId, ULONG_PTR ulResult)
{
DbgPrint("FATAL: Win32DbgPostServiceHook(%ld): There are %ld exclusive locks!\n",
ulSyscallId, pti->cExclusiveLocks);
GdiDbgDumpLockedHandles();
ASSERT(FALSE);
}
return ulResult;