jQuery and ASP.NET

June 28, 2009

How to Debug Client-Side Script In Internet Explorer




If you have got a lot of JavaScript code in your ASP.NET pages, chances are you have to debug it at some point of time to fix a bug or test the output. In IE, you need to explicitly enable debugging support inside the browser. Follow these steps to do so:

Open IE > Tools > Internet Options

Click Advanced Tab > Under the ‘Browsing’ section, clear the checkbox against ‘ Disable script debugging (Internet Explorer)’.

image

That’s it. Now put a breakpoint in your JavaScript code and run the application in Visual Studio.

There are other tools like Microsoft Script Editor too which can be used.

Other browsers like Firefox has tools like FireBug, which is a great tool to debug Client-Side Script.


Bookmark this link on del.icio.us (saved by 0 users)

Did you like this post?
kick it on DotNetKicks.com
subscribe via rss subscribe via e-mail
print this post follow me on twitter
Others Also Read..

comments

0 Responses to "How to Debug Client-Side Script In Internet Explorer"
 

Copyright 2010 All Rights Reserved DevCurry.com by Suprotim Agarwal