Unconditionnally print messages on DLL load breakpoint.

This commit is contained in:
Eric Pouech 2000-07-10 13:05:44 +00:00 committed by Alexandre Julliard
parent 522a9a90b9
commit f516be6736
1 changed files with 5 additions and 1 deletions

View File

@ -668,7 +668,11 @@ static BOOL DEBUG_HandleDebugEvent(DEBUG_EVENT* de, LPDWORD cont)
de->u.LoadDll.nDebugInfoSize); de->u.LoadDll.nDebugInfoSize);
CharUpper(buffer); CharUpper(buffer);
DEBUG_LoadModule32(buffer, de->u.LoadDll.hFile, (DWORD)de->u.LoadDll.lpBaseOfDll); DEBUG_LoadModule32(buffer, de->u.LoadDll.hFile, (DWORD)de->u.LoadDll.lpBaseOfDll);
if (DBG_IVAR(BreakOnDllLoad)) ret = DEBUG_Parser(); if (DBG_IVAR(BreakOnDllLoad)) {
DEBUG_Printf(DBG_CHN_MESG, "Stopping on DLL %s loading at %08lx\n",
buffer, (unsigned long)de->u.LoadDll.lpBaseOfDll);
ret = DEBUG_Parser();
}
break; break;
case UNLOAD_DLL_DEBUG_EVENT: case UNLOAD_DLL_DEBUG_EVENT: