No symbolds loaded for this document....

  • Thread starter Thread starter Havatcha
  • Start date Start date
H

Havatcha

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?
 
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
 
Back
Top