473,404 Members | 2,187 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,404 software developers and data experts.

Debugging problem "No symbols have been loaded"

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

May 1 '07 #1
8 21587
Steve Kershaw wrote:
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
May 1 '07 #2
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
May 1 '07 #3
On May 1, 1:54 pm, Vijay <V...@discussions.microsoft.comwrote:
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

May 2 '07 #4
are you receiving any error message? make sure the debug="true" is set in the
compilation section of web.config.
May 2 '07 #5
On May 2, 12:06 pm, Vijay <V...@discussions.microsoft.comwrote:
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.

May 2 '07 #6
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.
May 2 '07 #7
On May 2, 3:45 pm, Vijay <V...@discussions.microsoft.comwrote:
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

May 2 '07 #8
You are welcome. Thanks for the update.
May 3 '07 #9

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...
4
by: wob | last post by:
Many thanks for those who responded to my question of "putting greek char into C string". In searching for an solution, I noticed that there are more than one version of "Extended ASCII...
3
by: Lou | last post by:
I get an error on my break points "The breakpoint will not be currently be hit. No symbols loaded" I notices the icons in my solution explorer are blank? This is a .dll I am trying to debug, but...
1
by: Edward King | last post by:
I have a statement in a asp,like follows£º var str=window.top.main.document.all.contenttext.value; I use IIS5.0 to deploy this asp,then I visit this asp like follows:...
5
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...
10
by: RDI | last post by:
What's it mean? My prog runs fine. Then as soon as I press ok or cancel, the following is what's in the output area of the debugger. TIA -- RDI (remove the exclamation from the email...
4
by: Jason Teagle | last post by:
I'm not sure which is the correct group to post this to, if either, so apologies for the crosspost and if it's OT. I have a Visual Studio.NET 2002-compiled solution that originated at work. At...
2
by: Netwatcher | last post by:
can somebody explain me where to put "{ }" and ";" symbols on a script? i did search the web but didn't find any explanation written in a way i can understand. example of a code that i tried and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.