Thursday, July 9, 2009

Debugging Javascript using vs.net


Steps

   1. Enable client-side script debugging in Internet Explorer
         1. Open Microsoft Internet Explorer.
         2. On the Tools menu, click Internet Options.
         3. On the Advanced tab, locate the Browsing section, and uncheck the Disable script debugging check box, and then click OK.
         4. Close Internet Explorer.

   2. In your JavasSript function add the keyword debugger . This causes VS.NET to switch to debug mode when it runs that line.
   3. Run your ASP.Net application in debug mode.

No comments:

Post a Comment