Debugging Javascript - Developers Anonymous
Wednesday, January 31, 2007 7:41 AM Trivium DawnWalker

Debugging Javascript

Javascript is such a useful tool for any webdeveloper, yet when many developers run into problems with their functions they have no idea how to debug their scripts. Although there is a javascript debugger addon for MozIlla and Netscape available at www.mozilla.org/projects/venkman/ I have never used it. I have found that by far the easiest way to debug my javascript is by using alerts. It is obviously a little more time consuming but it works brilliantly!

Does anyone else have methods of debugging Javascript in webpages?

Comments

# re: Debugging Javascript

Wednesday, January 31, 2007 9:57 AM by Armand du Plessis

While not terribly helpful now the Orcas  Visual Studio builds (Currently CTP)  includes a much better integrated Javascript debugger and Javascript intellisense engine.

If you have time for the 3GB download it might not be such a bad idea to check it out.

Also check out this page and the pages linked to from it for some script debugging tips and tricks with VS.NET. http://blogs.msdn.com/brada/archive/2006/03/28/563622.aspx

# re: Debugging Javascript

Wednesday, January 31, 2007 8:16 PM by Craig Nicholson

I have found jsTrace (http://www.easy-designs.net/code/jsTrace/) to be VERY useful especially where you need to debug a lot of code.

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: