Does anyone know of a really good editor to debug JavaScript (other then Visual Studio 2008 and FireBug)?
-
IE8 beta 2 has a nice debugger
apphacker : IE8's debugger is the best I have ever used. And I develop using firebug on a Mac, so thats' saying a lot! -
Take a look at Venkman, the JavaScript debugger for Firefox:
http://www.mozilla.org/projects/venkman/
It's a real source-level javascript debugger where you can set breakpoints and step through code.
-
Opera has Dragonfly, though I still prefer Firebug. Before Firebug there was Venkman, though it's future is uncertain at this point.
-
Here is an article, Advanced JavaScript Debugging Techniques, that describes the use of several tools. One new tool I learned about that I hadn't heard of before is JSLint. Sometimes JSLint just immediately shows you your dodgy code that is causing the issue.
Andrew Hedges : +1 for JSLint! I use it to scrub 3rd party code if it throws errors after being packed.Nosredna : I always use jsLint. And it's been getting picker and pickier all along. -
The Google chrome browser has a reasonable wee JS debugger built-in. There's a good list of the available commands here.
-
Aptana Studio IDE has a nice javascript debugger.
The community version supports only Firefox, the professional one also supports Internet Explorer.
-
For Internet Explorer debugging (and when you don't have VS 2008), you can use MS Script Editor. This is a good writeup on how to get it configured correctly:
http://www.jonathanboutelle.com/mt/archives/2006/01/howto_debug_jav.html
-
I work in Aptana. You set breakpoints, hover over variables, and do watches right in the editor. Love it. Never thought I'd move away from Firebug as my chief debugger.
-
If you're accustomed to using Firebug, you might like Firebug Lite, implemented in JavaScript. You can use it as a bookmarklet, which is nice. I'm not sure how powerful it is, I imagine other, "real" solutions are better, but it's handy in a pinch.
Nosredna : It's not really a debugger. It's more of an inspector. -
http://bimbim.in/post/2010/08/19/JavaScript-Vb-Script-debugging-Methods.aspx
0 comments:
Post a Comment