I've been working on a new release of my "debug" library. The original
allowed the developer to "dump" complex objects (even those with circular
references) to the screen for review. This version adds many features:
+) A simplified "log" method for writing arbitrary information to a log
window.
+) A simple "timer" method which can be used to time blocks of code.
+) Simplified methods for dumping currently available cookies and query
string values.
+) Several HTML updates/optimizations (the tool no longer uses frames for
example).
A test page is here (note that the debug console opens in a popup window -
blockers may prevent this of course):
http://www.depressedpress.com/test/d...&test1=newtesy
Feel free to examine the source (the test page source is a little ugly, but
the source of the component itself should be clean at this point.)
Currently it's been tested in FF and IE (6 and 7). The last tie I tried
Opera it didn't work... but I've not tried the new version of Opera. There
are slight differences between FF and IE (Firefox, for example, will not
acknowledge local links in generated content while IE has some cosmetic
vertical scrolling issues).
The roughest part (and the newest) is the "dpLog" section - it's presentable
but I hope to improve it considerably before release.
I'm open to any bugs or criticisms (or feature requests) at this point.
Please note that this tool is not intended to replace more integrated tools
like the fabulous FireBug. Instead I would like to think that it could
compliment them. Since IE doesn't have a FireBug equivalent I find the this
tool much more useful on that platform in general, although I use it
extensively in FireFox as well.
The original library, for comparison, is here:
http://www.depressedpress.com/Conten...eBug/Index.cfm
Of course this new version, like the last, will be open-sourced under the
very liberal BSD license and free.
Thanks in advance,
Jim Davis