If you're like me, you've been using alert() statements to debug JavaScript errors in IE. It turns out that there is a free download from Microsoft called Script Debugger that makes debugging easier: it opens a window showing what line in the JavaScript caused the error.
(Firefox offers several JavaScript debugging tools, my favorite of which is FireBug -- love the exploratory js command-line).
If you need to pull out the big guns in Firefox, the Venkman Debugger lets you set breakpoints. Takes a few seconds to fire up though.
ReplyDelete