Unconditionnally print messages on DLL load breakpoint.
This commit is contained in:
parent
522a9a90b9
commit
f516be6736
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue