Connecting Tech Pros Worldwide Forums | Help | Site Map

Debugging problem "No symbols have been loaded"

Steve Kershaw
Guest
 
Posts: n/a
#1: May 1 '07
I have a debugging/breakpoint problem that I must fix before I move
on!!!

When I set a breakpoint in my ASP.NET (C#) page I get the red circle
with the 'A'. When I mouse over this breakpoint I get one of two
errors:

First error "The breakpoint will not currently be hit. No symbols have
been loaded for this document"

Second error: "The current source file is different than the original
version..... Unclick the Options/Debugging/General Require source
files to exactly match fhe original version." (I did this to no avail)

Also when I try to set a break point in the Page_Load method of a sub-
Default.aspx (in a different directory than the main Default.aspx)
Visual Studios 2005 sends me to the MAIN Default.aspx and sets the
breakpoint there!!!

Strange, very strange...

Can someone help me on this Please!!!!

Thank sooo much.
Steve


=?ISO-8859-1?Q?G=F6ran_Andersson?=
Guest
 
Posts: n/a
#2: May 1 '07

re: Debugging problem "No symbols have been loaded"


Steve Kershaw wrote:
Quote:
I have a debugging/breakpoint problem that I must fix before I move
on!!!
>
When I set a breakpoint in my ASP.NET (C#) page I get the red circle
with the 'A'. When I mouse over this breakpoint I get one of two
errors:
>
First error "The breakpoint will not currently be hit. No symbols have
been loaded for this document"
>
Second error: "The current source file is different than the original
version..... Unclick the Options/Debugging/General Require source
files to exactly match fhe original version." (I did this to no avail)
>
Also when I try to set a break point in the Page_Load method of a sub-
Default.aspx (in a different directory than the main Default.aspx)
Visual Studios 2005 sends me to the MAIN Default.aspx and sets the
breakpoint there!!!
>
Strange, very strange...
>
Can someone help me on this Please!!!!
>
Thank sooo much.
Steve
>
You have to compile the application in debug mode to be able to debug it.

--
Göran Andersson
_____
http://www.guffa.com
=?Utf-8?B?VmlqYXk=?=
Guest
 
Posts: n/a
#3: May 1 '07

re: Debugging problem "No symbols have been loaded"


Clear all temporary files from the .net framework directory. ReBuild your
entire application in debug mode. Make sure you are setting break-point on
the actual file and not it's duplicate.

HTH
Steve Kershaw
Guest
 
Posts: n/a
#4: May 2 '07

re: Debugging problem "No symbols have been loaded"


On May 1, 1:54 pm, Vijay <V...@discussions.microsoft.comwrote:
Quote:
Clear all temporary files from the .net framework directory. ReBuild your
entire application in debug mode. Make sure you are setting break-point on
the actual file and not it's duplicate.
>
HTH
I did delete everything in the temporary .NET framework directory and
rebuilt from scratch. I still have problems!

Any suggestions?

Steve

=?Utf-8?B?VmlqYXk=?=
Guest
 
Posts: n/a
#5: May 2 '07

re: Debugging problem "No symbols have been loaded"


are you receiving any error message? make sure the debug="true" is set in the
compilation section of web.config.
Steve Kershaw
Guest
 
Posts: n/a
#6: May 2 '07

re: Debugging problem "No symbols have been loaded"


On May 2, 12:06 pm, Vijay <V...@discussions.microsoft.comwrote:
Quote:
are you receiving any error message? make sure the debug="true" is set in the
compilation section of web.config.
The error message I get is "this breakpoint will not currently be hit.
The source code is different from the original version." However I
don't know what the original version is?! As far as I know there is
only one version (mine).

The interesting thing is that this web site I'm working on uses a
Response.Redirect("..."); to move to a new web page. It is with THAT
new web page where I have the problem with break points. I also have
problems with hitting break points in my master page.

=?Utf-8?B?VmlqYXk=?=
Guest
 
Posts: n/a
#7: May 2 '07

re: Debugging problem "No symbols have been loaded"


i suggest you create another asp.net project from fresh with only one page
and test for debugging. hopefully this should solve the debug issue.
Steve Kershaw
Guest
 
Posts: n/a
#8: May 3 '07

re: Debugging problem "No symbols have been loaded"


On May 2, 3:45 pm, Vijay <V...@discussions.microsoft.comwrote:
Quote:
i suggest you create another asp.net project from fresh with only one page
and test for debugging. hopefully this should solve the debug issue.
I found out what the problem was. We have a network with another
server that stores our "My Documents" folder. Every Word or Excell
file we create gets stored there. I went to the Solution/Property
Pages and saw that the output folder where the precompiled version is
stored is on this network server. I just pointed it back to my C:\
drive and everything started working again!

Thanks for your help
Steve

=?Utf-8?B?VmlqYXk=?=
Guest
 
Posts: n/a
#9: May 3 '07

re: Debugging problem "No symbols have been loaded"


You are welcome. Thanks for the update.
Closed Thread