Debugging JavaScript using VS.NET 2005

To debug JS in Vs 2005 make sure you haven’t checked “Disable script debugging” in Internet Expolorer Option menu.

Under the Debug menu, Windows, choose Script Explorer. This should show a window on the right side with a list of the running documents. It should show the aspx page any any .js files you have included. Open up any of the .JS files and set breakpoints in your code. Once the script is executed it should stop at your breakpoints and give you all the current watch funcationality that you have come to expect from VS.NET.

No related posts.

  1. That was a nice way to debug JS. I was wondering if you know more about other ways of debugging it than VS.Net?

  2. @aj
    have you tried this one:

    IE Developer Toolbar
    click

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

Read previous post:
How To Make AJAX Read Between The Lines

Your site may contain a wealth of technical terms. The user while viewing it may have to wonder about their...

Close