Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Visual Studio 2008 shipped with a feature to automatically enable script debugging when starting IE8 from Visual Studio. In other words, if you are using VS 2008 and IE8, there is no longer a need to tweak IE options to debug your site.
However, this feature unfortunately created a problem which we didn't notice before VS 2008 shipped - web sites which create a large number of dynamic documents can perform quite poorly under the debugger, and now there is no option to run your site outside the debugger. If you open solution explorer and see the document list under 'Script Documents' dance up and down, you are running into this problem.
If you want to disable script debugging, I would love to hear about your scenario. We are aware of the performance issues with applications that create many documents. We hope to address this in a future version of Visual Studio.
If you are using Visual Web Developer Express, replace 'VisualStudio' with 'VWDExpress':
If you want to restore your computer so that you can debug scripts again:
Some sites run into problems being debugged due to numerous "anonymous code" nodes in solution explorer. For these sites, instead of disabling script debugging completely, it's possible to disable just the 'anonymous code' nodes. This requires Visual Studio 2008 SP1. To do so:
Anonymous
April 06, 2009
PingBack from http://www.anith.com/?p=26929
Anonymous
April 06, 2009
Visual Studio 2008, Internet Explorer 8 e il debug degli script
Anonymous
April 06, 2009
Quando si esegue un sito Web da Visual Studio 2008, se esso viene visualizzato all'interno del browser
Anonymous
April 07, 2009
Thank you!
I've logged issues on the connect site for VS about this issue and was given the anonymous node work around that helped, but not nearly enough.
The silverlight install fixed my problem completely!
Its rare that I debug scripts, and the silverlight workaround gives me an easy option to turn script debugging on and off at will.
Anonymous
April 16, 2009
Thanks for this post. Though I wasn't able to get the anonymous code fix to take with VS2008 SP1, disabling script debugging completely worked like a charm. Since this is effectively the scenerio I was dealing with in IE7 I'm happy. Thanks a bunch.
Anonymous
April 21, 2009
This has speeded up development. Thanks.
Anonymous
April 22, 2009
The comment has been removed
Anonymous
April 23, 2009
Thanks for the workaround!
It helped me a lot!
Please sign in to use this experience.
Sign in