CFDUMP for JavaScript
Now that I'm doing so much Ajax & Javascript development, I'm always on the hunt for new tools to help make debugging my client-side code easier.
I was over at Pete Freitag's Blog where he pointed out some Javascript code that will let you do a CFDUMP-like dump of Javascript objects!! Here are the links:
This is VERY slick and extremely useful. This, in conjunction with Joe Hewitt's FireBug 1.0, makes for a nice set of debugging tools for Ajax development.
Great find Pete!






I've got code that does this, and I was going to jQuerify it. A buddy of mine and I were talking last summer about how if we could drill down into a javascript object it would be so much easier to debug our client side code.
So he wrote this function called "DisplayObject". It works brilliantly. A few weeks ago, I decided that since I'd not seen anyone in the jQuery world doing anything like this, that I would jQuerify my buddy's code and present it to the community as a plug-in.
Now, someone's beaten me too it. shucks. Oh, well. I'll have to have a look at this guy's code.
..." I'll have to look at this guy's code. Maybe it's better than mine." ;o)