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 
 form1 
 form 
 mailinglist   YES 
 wddxpacket    
 newsletters   1,2,3,4 
 name   Dan Switzer 
 occupation   1,2 
 format   HTML 
 email   dswitzer@pengoworks.com 
 key   http://webdev.oar.net/dswitzer/forms/example1.cfm?page=1 
 url   http://webdev.oar.net/dswitzer/forms/example1.cfm?page=1 
 title   WDDX Form Wizard: Example 1 (Page 1) 
 form2 
 form 
 mailinglist   YES 
 wddxpacket    
 newsletters   2,3 
 name   Bob Smith 
 occupation   3 
 format   ASCII 
 email   bsmith@pengoworks.com 
 key   http://webdev.oar.net/dswitzer/forms/example1.cfm?page=2 
 url   http://webdev.oar.net/dswitzer/forms/example1.cfm?page=2 
 title   WDDX Form Wizard: Example 1 (Page 2) 
 form3 
 form 
 mailinglist   YES 
 wddxpacket    
 newsletters    
 name   Blankman 
 occupation    
 format    
 email   asdasda 
 key   http://webdev.oar.net/dswitzer/forms/example1.cfm?page=3 
 url   http://webdev.oar.net/dswitzer/forms/example1.cfm?page=3 
 title   WDDX Form Wizard: Example 1 (Page 3) 
 totalforms   4 
 form4 
 form 
 mailinglist   YES 
 wddxpacket    
 newsletters    
 name    
 occupation    
 format    
 email    
 key   http://webdev.oar.net/dswitzer/forms/example3_1.cfm 
 url   http://webdev.oar.net/dswitzer/forms/example3_1.cfm 
 title   WDDX Form Wizard: Example 3 (Page 1) 
 qryGetData 
Row 1
 NAME   Cruisin' World 
 NEW    
 PLAYERS   2 
 TYPE   Racing 
Row 2
 NAME   Time Crisis 2 
 NEW    
 PLAYERS   2 
 TYPE   Shoot 'Em Up 
Row 3
 NAME   Blitz 99 
 NEW    
 PLAYERS   2 
 TYPE   Sports 
Row 4
 NAME   Clean Sweep Crane 
 NEW    
 PLAYERS   1 
 TYPE   Redemption 
Row 5
 NAME   Gauntlet Legends 
 NEW    
 PLAYERS   4 
 TYPE   Adventure 
Row 6
 NAME   Ghost Train 
 NEW    
 PLAYERS   1 
 TYPE   Redemption 
 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 
 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

Error!
The object SESSION,APPLICATION,CGI,FORM,URL,REQUEST,COOKIE is not a valid object. Make sure you specify a valid ColdFusion objects (structure, query, array, variable, etc.) Also, make sure you are not evaluating the contents of the object, but are providing CF_ObjMerge with the name of your object. (i.e. use "SESSION", not "#SESSION#".)

Error!
The object AllObjects is not a valid object. Make sure you specify a valid ColdFusion object type (structure, query, array, variable, etc.) Also, make sure you are not evaluating the contents of the object, but are providing CF_ObjDump with the name of your object. (i.e. use "SESSION", not "#SESSION#".)

Download CF_ObjDump.zip