Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
While running project all class library classes get read only and brakepoints turn empty and say "Breakpoint will not currently be hit. No symbols loaded for this document". Never had problem with it before.

Configuration manager shows library class as in debug so what's the problem.

Its a application that runs on windows mobile emulator for debugging purpose.

Help appreciated as I haven't found solution for it on internet yet.

So how to debug it?
Posted
Updated 10-May-22 21:48pm
v2

Try this

set "Generate DEBUG information" to FALSE
delete /bin and /obj folder
Set "Generate DEBUG information" back to TRUE
rebuild the project


This generally occurs when the dll and the dll source code both are different
or if the .pdb file information is not matching.
 
Share this answer
 
v2
Comments
mateusz.matyaszek 27-Sep-11 8:41am    
Tried that and no joy. Even tried adding pdb file location through Symbols but no joy either.
mateusz.matyaszek 27-Sep-11 9:44am    
Am I dreaming or there is a window in VS that shows what Symbols are loaded
surendrav 4-Jan-12 6:54am    
check if you are Debugging in Release Mode :)
Well solution was easier than that. I was having wrong file open (from different project because I was using search in mindless way).
 
Share this answer
 
Check the location of executable, does the executable and all associated libraries have been uploaded to emulator. This happens when you try to debug an older version executable towards a new code base.
 
Share this answer
 
Comments
mateusz.matyaszek 27-Sep-11 5:49am    
How would I do that?
close all your tab in the browser just run your application only.
 
Share this answer
 
Comments
Member 12836623 9-Jan-18 8:39am    
I wasted five long hours trying to resolve this. But, this did it for me. This is while i was under pressure to deliver on a project. i tried all sorts of suggestions to no avail. Thanks a million, Grace
Max pk 27-Sep-18 16:51pm    
browser tabs have nothing to do with symbols, instead it may give you some free memory
Right click on the project (not the solution) and go into properties, select "Build" from the left hand menu, from there select the right configuration if it's not already (from the dropdown at the top) and at the bottom click on "Advanced"

You will then see under "Output" a drop down to select "Debugging Information", set it to either "Full" or "Pdb-only" and that should clear things up for you.
 
Share this answer
 
Comments
Richard MacCutchan 17-Jun-20 3:30am    
Nine years on I am sure they have either solved it or given up.
Member 14865036 9-Mar-21 18:23pm    
It's for the poor sap that finds this is the same issue they are having and decides to google old codeproject answers.

We live not in a vacuum.
open the studio as administrator then do build->clean solution then build/rebuild
it worked fine for me.
 
Share this answer
 
I tried re-attaching the debugger to the process and it worked for me!!
Debug>Reattach to process
shortcut> Shift+alt+p
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900