Vishak
2004-10-28 14:26:12 UTC
Hello All,
I am pretty new to WinDbg. I am stuck -Please help !
I have an EXE from a thrid party vendor ( i don't have the .pdb file
or source for this EXE).
This EXE loads my custom COM DLL (this DLL has .pdb file and source
and this is the one i want to debug) through another DLL ( this DLL
doesn't have .pdb) at runtime.
I have set the WinDbg Symbols path to the DLLs pdb folder,
the source path and image path repectivity to the DLL source and
image.
What i am doing is , I do an Open Exectuable -> of the EXE and open
the source file of my DLL and try to set breakpoints.
But i am not able to set breakpoints in the DLL source files.
After reading throught the WinDbg documentation i understood that
breakpoints are set only for modules present in the loaded
application's module list.
Further i came across mention in the help about command :
.reload /s /f
to load a module not part of the target application's module list.
I gave a command as below :
.reload /s /f C:\tmp\my.dll
I get an error "my.dll" was not found in the image list.
But this too didn't work for me :(
What am i missing out ?? Any sort of help is appreciated.
Thanks in advance,
Regards,
Vishak
I am pretty new to WinDbg. I am stuck -Please help !
I have an EXE from a thrid party vendor ( i don't have the .pdb file
or source for this EXE).
This EXE loads my custom COM DLL (this DLL has .pdb file and source
and this is the one i want to debug) through another DLL ( this DLL
doesn't have .pdb) at runtime.
I have set the WinDbg Symbols path to the DLLs pdb folder,
the source path and image path repectivity to the DLL source and
image.
What i am doing is , I do an Open Exectuable -> of the EXE and open
the source file of my DLL and try to set breakpoints.
But i am not able to set breakpoints in the DLL source files.
After reading throught the WinDbg documentation i understood that
breakpoints are set only for modules present in the loaded
application's module list.
Further i came across mention in the help about command :
.reload /s /f
to load a module not part of the target application's module list.
I gave a command as below :
.reload /s /f C:\tmp\my.dll
I get an error "my.dll" was not found in the image list.
But this too didn't work for me :(
What am i missing out ?? Any sort of help is appreciated.
Thanks in advance,
Regards,
Vishak