473,386 Members | 1,764 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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
Nov 15 '05 #1
3 83392
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.
Nov 15 '05 #2

Hi all

After passing 1 day on the problem i think i found the definitiv
solution to the "no symbols loaded" problem. I want to share this wit
the whole world, i don't want anyone else wasting a day in this stupi
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
Question Mark appears with the infamous

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

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

obj directory and you CAN'T touch this copy so easily. So here is th
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 workin
perfectly

Bye

JW Emilian

--
WentuPosted from http://www.pcreview.co.uk/ newsgroup acces

Nov 17 '05 #3
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.

Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: aerobar2 | last post by:
When I debug my application I get "no symbols loaded" ================= 'DefaultDomain': Loaded 'c:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols loaded. 'MHSFire': Loaded...
2
by: asdf | last post by:
Hello, I was enjoying working in VS for half a year without any problems and now I cannot debug anymore. Without any really reason my Studio tells me that the page that I want to debug has - No...
1
by: glaserp | last post by:
Hi, I am developing a Windows application with C# in Visual Stuio .NET. My application references three assemblies that are developed in another project. I have added these assemblies as...
1
by: wylbur via DotNetMonster.com | last post by:
I'm having a problem with establishing breakpoints in DbgCLR Version 2.0. I've set breakpoints for statements in Page_Init, and they were never triggered when I loaded the webpage. In the code...
0
by: wASP | last post by:
Hi, I'm posting this again - I'm having some kind of a problem with my posts disappearing ... I'm having a problem with establishing breakpoints in DbgCLR Version 2.0. I've set...
0
by: wASP | last post by:
Hi, I'm having a problem with establishing breakpoints in DbgCLR Version 2.0. I've set breakpoints for statements in Page_Init, and they were never triggered when I loaded the webpage. I place...
4
by: chandu | last post by:
if i want to debug a dotnet application the break point is not going to hit. giving the message as "The break point will not currently hit,No Symbols have been loaded for this document". if i...
1
by: Scott McFadden | last post by:
We have a C# client (VS2005 SP1) and a C++ / CLI DLL (VS2005 SP1). The client and the dll are both in the same solution. "Enable unmanaged code debugging" option is enabled in client project. ...
0
by: John Peterson | last post by:
I'm a little confused by the topics system here. I wanted to respond to this post but it was closed or something. But here is my follow up: Yes, I checked all that. My solution is a C++...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.