[I posted this message to CF-Talk yesterday but it was returned today as
spam... I didn't think it was spam but it's not my list.  ;^) ]

[This is a copy of a post I've made to alt.lang.javascript... but you guys
tend to be less pendantic.]

I've been working on a new release of my JavaScript "debug" library.  The
original allowed the developer to "dump" complex objects (even those with
circular references) to the screen for review (think CFDUMP for JavaScript).
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).  The URL variables on the link are
just for demo/test purposes - they don't do anything:

http://www.depressedpress.com/test/dpDebug/test.htm?test=testy&test=testy&te
st1=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/Content/Development/JavaScript/Extensions/DP_D
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



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:215554
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5

Reply via email to