I've completed my JavaScript "dump" extension and posted it here (long URL):

http://www.depressedpress.com/depressedpress/Content/Development/JavaScript/
Extensions/DP_DeBug/Index.cfm

The library adds two methods to the Object prototype (making them available
to all objects): dpDump() which present an HTML display of any object and
dpGetType() which provides a better type mechanism than the typeof operator.

dpDump is more useful of the two by far. It provides:

        +) HTML representation of any complex object including nesting and
data type.
        +) It supports circular/recursive references in objects (which I
think is damn spiffy).
        +) It provides a dedicated debug window which can log multiple
dpDump() calls over time.
        +) It returns a reference to the object enabling chaining of dpDump
calls.  For example this is legal: MyArray.dpDump().reverse().dpDump() and
will result in a "before and after" view of the array.

The page has full documentation, a zip download of the library and lots of
examples.

I've tested the component in IE 6.x and FireFox 1.x.  I'd love to hear about
your experiences in other environments.

I'd also, of course, love to hear any comment or suggestions you may have
about the Library itself, the documentation or the examples.

Thanks,

Jim Davis




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216008
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to