A Really Neat JavaScript Debugging Tool
My favorite quick and easy JavaScript debugging tool is something you may be using this very minute.
It's the Firefox browser.
When a page seems to have buggy JavaScript:
-
Load the page into Firefox.
-
Use Firefox menu "Tools | Error Console."
You now have access to a list of errors and warnings, complete with file names and line numbers.
Clicking on the error listing itself will, in many cases (depending on your system settings and on the complexity of files associated with the page), open a window with the questionable source code highlighted.
Firefox does a better job of this than any other browser I've tried.
Will Bontrager