Google Answers Logo
View Question
 
Q: When Debugging in Visual Studio I get an Error relating to "No Symbols" ( No Answer,   2 Comments )
Question  
Subject: When Debugging in Visual Studio I get an Error relating to "No Symbols"
Category: Computers > Programming
Asked by: homebuilder-ga
List Price: $10.00
Posted: 28 Feb 2003 06:25 PST
Expires: 30 Mar 2003 06:25 PST
Question ID: 168328
I am using Visual Studio 1.0 to create a web application 

When running start in the debug mode with breakpoint set I get a "?"
appearing over the breakpoint and an error stating "Breakpoint will
not currenty be hit. No symbols have been loaded for this document" I
have downloaded the latest symbolic files form microsoft but that
didn't help.

The problem doesn't always occur occasionally I will get it to break
but 9 times out of 10 I get the error.

Can Anyone Help

Request for Question Clarification by theta-ga on 28 Feb 2003 12:08 PST
Hello homebuilder-ga,
  I assume that you are using the ASP .NET component of Visual
Studio.NET(2002).
- ASP.NET allows you to set a breakpoint in both server side and
client side code. But it only breaks in server side code, ignoring the
breakpoints in client side code. Is this what you are experiencing?

- Do you have ASP.NET debugging enabled in the Project Properties
dialog (on
the Configuration Settings | Debugging page)?

- Please ensure that both Enable Debugging options in web application
properties in IIS are set

Also, does this problem occur for all your projects or only this one?

Regards,
Theta-ga

Clarification of Question by homebuilder-ga on 28 Feb 2003 12:35 PST
I am putting the breakpoints on the aspx.vb page and I get the error
on some pages but not others, sometimes I get the problem and
Sometimes I don't I cannot find anything to rationalise why. On the
aspx page I view the properties for the DOCMENT and debug is set to
false (It does not change anything if I set it to True), but this is
true of all the pages in my project and some work and some don't. I am
not sure what you mean by:

- Do you have ASP.NET debugging enabled in the Project Properties
dialog (on the Configuration Settings | Debugging page)? 

Where do I click to find this information?

and

- Please ensure that both Enable Debugging options in web application
properties in IIS are set

I have check the properties in IIS but do not find this option please
advise further on how to check this.

Thanks

Request for Question Clarification by theta-ga on 01 Mar 2003 11:43 PST
Hi homebuilder-ga,
   - The following MSDN article tells you ho you can enable ASP.NET
debugging for your page:
       - Enabling ASP.NET Debugging
         ( http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/html/vxtskDebuggingWebServices.asp?frame=true&hidetoc=true)

   - You can change the debug settings in IIS by clicking on the
'Configuration' button in the 'Home Directory' tab in IIS Properties.
In the window that pops up, click on the 'Application Debugging' tab
and ebable the options there. See this page for some screenshots:
            - IIS 5 Administration - Home Directory Tab
[Google Cache](http://216.239.33.100/search?q=cache:hDcfck1ynxUC:www.internet-tips.net/Webmaster/iis_administration_home.htm+iis+5+enable+debugging&hl=en&ie=UTF-8)

    Also, try repairing your installation of VS.NEt. This has been
known to solve these debugging problems.

Regards,
Theta-ga

Clarification of Question by homebuilder-ga on 03 Mar 2003 15:09 PST
please see the note i added
Answer  
There is no answer at this time.

Comments  
Subject: Re: When Debugging in Visual Studio I get an Error relating to "No Symbols"
From: mikhas-ga on 02 Mar 2003 23:53 PST
 
There seems to be a bug in v1.0 , did you check also that you are
always compiling in debug mode?
Subject: Re: When Debugging in Visual Studio I get an Error relating to "No Symbols"
From: homebuilder-ga on 03 Mar 2003 15:08 PST
 
Yes I am Compiling in debug mode. I seem to have tracked down when
this is happening. I copied a HTML control from one page to another,
it was just a button I then added Code to the code behind page. I can
put breaks on items that are Webpage related controls but not on this
copied html control.

I have enabled Debugging in the IIS config.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy