Debugging JavaScript no longer a complete pain (now only a little)

Sep 2005

I used to hate coding JavaScript. Not because of the language (well maybe a bit) but the many countless hours littering code with alert() messages to see where things were going wrong. Sure, Mozilla has Venkman, but what happens when the error occurs in Safari, Opera or Internet Explorer? I really don't want to go through Message Box hell again now that I'm getting my feet wet with AJAX. Enter fvloggger by David F. Miller.

Based on (almost) everyone's favorite free logging tool Log4J; it allows you to add logging messages to an element in the DOM tree, so there's no more need to create annoying alert() messages to see what's going on. An introduction to fvlogger can be found in this article on A List Apart. Happy AJAXing.