Log in

View Full Version : Finding trigger for "break on new module


Anonymous
November 16th, 2002, 13:58
When an app being debugged triggers a "break on new module" breakpoint, is it possible to see where in the main app code it was called from ? I see the disassembly in the system API sitting on a RET instruction, and single-step F7 seems to issue a run command until the next module load. Examing the stack doesn't seem to help much either.

Anonymous
November 16th, 2002, 13:59
(Preferably here I would like to find the call to the LoadLibrary function that triggered the BP)

TBD
November 17th, 2002, 22:51
have you tried call stack (ALT+K) ?

Anonymous
November 19th, 2002, 12:31
Hmmm, LoadLibraryExA from OLE32. No mention of the application. I can only assume therefore that the app uses OLE to load it's libraries. Scary. On other app's I can see the actual place in the app where the library is loaded.

Cheers for the tip !