debug .lib attaching to process?
-
I need to debug a function defined in a statically linked library attaching to a process compiled with that library. I have two .bsc's, one for the library and one for the .exe. I have tried changing the name of the .lib bsc to the exe .bsc, but doing this way I can't set breakpoints in the function of the library that I need to debug.
-
I need to debug a function defined in a statically linked library attaching to a process compiled with that library. I have two .bsc's, one for the library and one for the .exe. I have tried changing the name of the .lib bsc to the exe .bsc, but doing this way I can't set breakpoints in the function of the library that I need to debug.
.bsc doesn't have anything to do with debugging. this is the browse information for symbols which Visual studio uses for locating symbol defenitions inside the source code. To debug what u need is the .pdf file. you have to compile both the library and exe. if the pdb file time stamp is same that of lib, then you can break into the code. you can chk whther the symbol files loaded correctly by pressing ctrl + alt + u inthe debug mode. cheers...milton kb