Log in

View Full Version : Debugging only one DLL


MasTool
February 12th, 2005, 09:57
Hello.
I'm trying debug a DLL which is loaded inside an exe i made.
but i'de like step ONLY on my.dll but not my.exe or ntdll.dll ...
i tried setting breakpoints by selecting all the lines of the dll and pressing F2 but it was not possible

Thanks in advance,
MasTool

TechLord
February 12th, 2005, 13:28
You can try putting bp on LoadLibraryA api which is used to load the dll file.
Then onwards you can step through the code which will be that of your dll.

If you enter into ntdll or other dll which you don't want then you can use Alt-F9 to come back into the user program.

1bitshort
February 12th, 2005, 21:35
Options menu, Debugging Options submenu, Events tab. Select "Break on new module (DLL) loading"