No symbols have been loaded for this document - Answer anyone?

S

sho_nuff

Looking for the be all end all answer to this issue.

1) Yes, i'm running in the Debug mode and not in Release
2) Yes, the timestamp on my pdb and dll file are in sync
3) Yes, i'm tried deleting my project and fetching our source tree
again
4) Yes, the Module window shows that all symbols are loaded when
running in the debugger
5) Yes, i'm rebooted.
6) Yes, i've deleted my bin and obj folders, restarted, and tried
again.


Anyone?

SN
 
T

Tom Porterfield

sho_nuff said:
Looking for the be all end all answer to this issue.

1) Yes, i'm running in the Debug mode and not in Release
2) Yes, the timestamp on my pdb and dll file are in sync
3) Yes, i'm tried deleting my project and fetching our source tree
again
4) Yes, the Module window shows that all symbols are loaded when
running in the debugger
5) Yes, i'm rebooted.
6) Yes, i've deleted my bin and obj folders, restarted, and tried
again.

What type of application is this? Are there multiple projects in the
solution? What type of app is your startup project? Have you tried using
multiple startup projects? What type document in what project is generating
the error?
--
Tom Porterfield
MS-MVP MCE
http://support.telop.org

Please post all follow-ups to the newsgroup only.
 
Joined
Jul 13, 2005
Messages
1
Reaction score
0
The Breakpoint will not currently be hit. No Symbols have been loaded for this docume

Hi all

After passing 1 day on the problem i think i found the definitive solution to the "no symbols loaded" problem. I want to share this with the whole world, i don't want anyone else wasting a day in this stupid way.

Here is the situation , in short:
one solution
two projects, the first one (A) calls the second (B) as a .dll .
Both are projects for PocketPC (Smart device applications).
When i set a Breakpoint in the code of B it looks OK but when i Debug a Question Mark appears with the infamous

note: The Breakpoint will not currently be hit. No Symbols have been loaded for this document.

The B.pdb has a timestamp different from B.dll and THIS is the problem.
You have to DELETE B.pdb NOT ONLY from the Debug/bin directory because THERE IS ANOTHER COPY of this B.pdb in the

obj directory and you CAN'T touch this copy so easily. So here is the complete walkthrough:

1) For your project set "Generate DEBUG information" to FALSE
2) DELETE ALL the occurences of B.pdb under /bin and /obj
3) Set "Generate DEBUG information" back to TRUE
4) BUILD


Between 2 and 3 I also built once but i think this is not necessary.

Now my pdb and dll have the same timestamp and all is working perfectly

Bye

JW Emiliano
 
T

tamer.yousef

I fixed my similar situation by uninstalling the assemply from the GAC.
It was trying to look for the PDB file there and now after removing it,
it look for the file in the local project.
 
Joined
Apr 30, 2010
Messages
4
Reaction score
0
No Symbols are Loaded...

I have the same issues and have been through every fix I have found with no luck. I have even went as far as creating a brand new vb.net 2005 project and before adding any code, I attempt to debug and still get this error. Very frustrated at this point. I am sure this is not related to any coding issues, but the IDE itself. Any help would be greatly appreciated.
 
Joined
Apr 30, 2010
Messages
4
Reaction score
0
Here is the end all be all answer to fix this frustrating issue.

from run command, run the following command:

devenv /resetsettings

This resets the IDE back to first time use and will again allow you to Debug...... Finally!!!!!!!!!!
 

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