I am having some trouble with the VS2005 debugger. When I set
breakpoints and run the debugger, they change into an icon telling me
that they will not be hit as no symbols have been loaded for the document.
Under Project->Properties->Linker->Debugging
I have set the following:
Generate Debug Info: Yes(/DEBUG)
Generate Program Database File: nameOfMyApp.pdb
Strip Private Symbols:
Generate Map File: Yes(/MAP)
MapFileName: nameOfMyApp.map
Map Exports: No
Debuggable Assembly: Runtime tracking and disable optimizations
I can see the program database and map files in my project directory so
they are definitely being created, but they dont seem to be getting
loaded during debugging.
Any clues to what I am doing wrong?
Cholo Lennon - 11 Nov 2007 06:41 GMT
In the debug output window (when the program is starting), are you seeing
information about pdb loading operation?
The 1st solution that come to my mind is to rebuild the entire application.
This solve inconsistencies between pdb and binaries (due to incremental
linking).
Regards
--
Cholo Lennon
Bs.As.
ARG
>I am having some trouble with the VS2005 debugger. When I set breakpoints
>and run the debugger, they change into an icon telling me that they will
[quoted text clipped - 16 lines]
>
> Any clues to what I am doing wrong?