CF_ObjDump

CF_ObjDump will display the entire contents of any ColdFusion object as a tree. It can even process WDDX strings and display the contents within its tree. This tag is emmense help when debugging large chunks of data being stored in memory. This is based on the tag "CF_ObjectDump" written by Nathan Dintenfass & Ben Archibald. This version was re-written from the ground up to output a more "tree-like" output. If you're running IE4/5, there is support for DHTML which will allow you to browse the tree much like Window's Explorer

Example

Ç   Ê   CF_ObjDump (1) by Dan G. Switzer, II
 objTest 
 wddxPacket 
 form4 
 form 
 wddxpacket    
 occupation    
 newsletters    
 mailinglist   YES 
 name    
 format    
 email    
 url   http://webdev.oar.net/dswitzer/forms/example3_1.cfm 
 key   http://webdev.oar.net/dswitzer/forms/example3_1.cfm 
 title   WDDX Form Wizard: Example 3 (Page 1) 
 form3 
 form 
 wddxpacket    
 occupation    
 newsletters    
 mailinglist   YES 
 name   Blankman 
 format    
 email   asdasda 
 url   http://webdev.oar.net/dswitzer/forms/example1.cfm?page=3 
 key   http://webdev.oar.net/dswitzer/forms/example1.cfm?page=3 
 title   WDDX Form Wizard: Example 1 (Page 3) 
 form2 
 form 
 wddxpacket    
 occupation   3 
 newsletters   2,3 
 mailinglist   YES 
 name   Bob Smith 
 format   ASCII 
 email   bsmith@pengoworks.com 
 url   http://webdev.oar.net/dswitzer/forms/example1.cfm?page=2 
 key   http://webdev.oar.net/dswitzer/forms/example1.cfm?page=2 
 title   WDDX Form Wizard: Example 1 (Page 2) 
 form1 
 form 
 wddxpacket    
 occupation   1,2 
 newsletters   1,2,3,4 
 mailinglist   YES 
 name   Dan Switzer 
 format   HTML 
 email   dswitzer@pengoworks.com 
 url   http://webdev.oar.net/dswitzer/forms/example1.cfm?page=1 
 key   http://webdev.oar.net/dswitzer/forms/example1.cfm?page=1 
 title   WDDX Form Wizard: Example 1 (Page 1) 
 totalforms   4 
 aryTest 
 aryTest[1]   Cruisin' World 
 aryTest[2]   Time Crisis 2 
 aryTest[3]   Blitz 99 
 aryTest[4]   Clean Sweep Crane 
 aryTest[5]   Gauntlet Legends 
 aryTest[6]   Ghost Train 
 qryGetData 
Row 1
 NAME   Cruisin' World 
 TYPE   Racing 
 PLAYERS   2 
 NEW    
Row 2
 NAME   Time Crisis 2 
 TYPE   Shoot 'Em Up 
 PLAYERS   2 
 NEW    
Row 3
 NAME   Blitz 99 
 TYPE   Sports 
 PLAYERS   2 
 NEW    
Row 4
 NAME   Clean Sweep Crane 
 TYPE   Redemption 
 PLAYERS   1 
 NEW    
Row 5
 NAME   Gauntlet Legends 
 TYPE   Adventure 
 PLAYERS   4 
 NEW    
Row 6
 NAME   Ghost Train 
 TYPE   Redemption 
 PLAYERS   1 
 NEW    
 aryTest2 
 aryTest2[1] 
 aryTest2[1][1]   Hello! 
 aryTest2[1][2]   Dan 
 aryTest2[2] 
 aryTest2[2][1]   Goodbye! 
 aryTest2[2][2]   <B>Dan</B> 

QUERY STRUCTURE ARRAY NUMERIC DATE STRING
   * Underlined keys are WDDX packets

Ç   Ê   CF_ObjDump (2) by Dan G. Switzer, II
 AllObjects 
 REQUEST 
 org.apache.catalina.AccessLog.RemoteAddr   3.237.32.15 
 org.apache.catalina.AccessLog.Protocol   HTTP/1.0 
 binfo 
 VERSION   0 
 USERAGENT   ccbot/2.0 (https://commoncrawl.org/faq/) 
 MAJORVERSION   0 
 BRANDS 
 opera   false 
 netscape   false 
 navigator   false 
 msie   false 
 safari   false 
 konqueror   false 
 gecko   false 
 W3C   false 
 NAME    
 IE4   false 
 NS4   false 
 org.apache.tomcat.remoteAddr   3.237.32.15 
 filedir 
 CONTENT   /web/pengoworks/www/_content\ 
 ROOT   /web/pengoworks/www/ 
 INCLUDES   /web/pengoworks/www/_includes\ 
 CURRENT   /web/pengoworks/www/downloads/customtags/objDump/ 
 XML   /web/pengoworks/www/_xml\ 
 action 
 REMAPPED   false 
 TYPE   get 
 COMMANDS 
 COMMANDS[1]   home 
 COMMANDS[2]    
 STRING   get:home 
 org.apache.catalina.AccessLog.ServerPort   443 
 page 
 TITLEAPPEND   PengoWorks.com 
 SITEMAP 
 XSLSOURCE   /web/pengoworks/www/_xml\sitemap_nodhtml.xsl 
 ISXSLFILE   true 
 XMLSOURCE   /web/pengoworks/www/_xml\sitemap.xml 
 ISXMLFILE   true 
 TITLE    
 org.apache.catalina.AccessLog.RemoteHost   3.237.32.15 
 SESSION 
 cfid   f6559c51-e335-4b46-92ec-f7bf9b246b47 
 timecreated   {ts '2023-05-28 08:32:18'} 
 sessionid   _f6559c51-e335-4b46-92ec-f7bf9b246b47_0 
 urltoken   CFID=f6559c51-e335-4b46-92ec-f7bf9b246b47&CFTOKEN=0 
 lastvisit   {ts '2023-05-28 08:32:18'} 
 cftoken   0 
 APPLICATION 
 applicationname    
 COOKIE 
 cfid   f6559c51-e335-4b46-92ec-f7bf9b246b47 
 cftoken   0 
 FORM   This structure contains no keys. 
 URL 
 action   get:home 
 CGI 
 auth_password    
 auth_type    
 auth_user    
 cert_cookie    
 cert_flags    
 cert_issuer    
 cert_keysize    
 cert_secretkeysize    
 cert_serialnumber    
 cert_server_issuer    
 cert_server_subject    
 cert_subject    
 cf_template_path   /web/pengoworks/www/downloads/customtags/objDump/example.cfm 
 content_length    
 content_type    
 gateway_interface    
 http_accept   text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 
 http_accept_encoding   br,gzip 
 http_accept_language   en-US,en;q=0.5 
 http_connection   close 
 http_cookie    
 http_host   pengoworks.com 
 http_user_agent   CCBot/2.0 (https://commoncrawl.org/faq/) 
 http_referer    
 https   on 
 https_keysize    
 https_secretkeysize    
 https_server_issuer    
 https_server_subject    
 path_info    
 path_translated   /web/pengoworks/www/downloads/customtags/objDump/example.cfm 
 query_string    
 remote_addr   3.237.32.15 
 remote_host   3.237.32.15 
 remote_user    
 request_method   GET 
 request_url   https://pengoworks.com/downloads/customtags/objDump/example.cfm 
 script_name   /downloads/customtags/objDump/example.cfm 
 server_name   pengoworks.com 
 server_port   443 
 server_port_secure   1 
 server_protocol   HTTP/1.0 
 server_software    
 web_server_api    
 context_path    
 local_addr   127.0.0.1 
 local_host   pengoworks 

QUERY STRUCTURE ARRAY NUMERIC DATE STRING
   * Underlined keys are WDDX packets

Download CF_ObjDump.zip