No symbolds loaded for this document....

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?
 
C

Cholo Lennon

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top