Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this do

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I have recently install VS 2005 Pro and I cannot get breakpoints to work properly in my C++ Win32 application.  After compiling for Debug and placing a breakpoint, when I run my program the breakpoint indicator becomes a hollow circle with an exclamation point and I see the above message when I hover over it.
This makes no sense to me because I have verified the following:
1.  Yes, I have compiled for Debug.
2.  Output for my program indicates that "Symbols loaded".
3.  I see the .pdb file in my <project>debug folder with the correct build date/time.
Curiously, I have created other new projects under VS 2005 that seem to work fine.  The broken one has been ported from VS 2003 and now resides in a new directory.  When I compare the other project and solution debug property settings (that work) with the broken one, I see no significant differences.  The one red flag that I see is that the other projects all contain a file named "vc80.pdb" in the <u>projects</u> debug folder in addition to a <project name>.pdb file in the <u>solutions</u> debug folder (I am not sure why both the solution and the project get a debug folder).
I have seen some online discussion about needing to delete some cache files to fix this problem, but I do not find these files on my machine.
Is anyone aware of this problem and a quick fix for it?

View the full article
 
Back
Top