PC Review Forums Newsgroups Microsoft DotNet Microsoft C# .NET No symbols have been loaded for this document - Answer anyone?

Reply

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

 
Thread Tools Rate Thread
Old 19-02-2004, 03:41 PM   #1
sho_nuff
Guest
 
Posts: n/a
Default No symbols have been loaded for this document - Answer anyone?


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
  Reply With Quote
Old 19-02-2004, 03:58 PM   #2
Tom Porterfield
Guest
 
Posts: n/a
Default Re: No symbols have been loaded for this document - Answer anyone?

sho_nuff wrote:
> 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.


  Reply With Quote
Old 13-07-2005, 05:12 PM   #3
Wentu
Junior Member
 
Join Date: Jul 2005
Posts: 1
Trader Rating: (0)
Thumbs up 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
Wentu is offline   Reply With Quote
Old 25-07-2005, 09:11 PM   #4
tamer.yousef@gmail.com
Guest
 
Posts: n/a
Default Re: No symbols have been loaded for this document - Answer anyone?

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.

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off