Improving ColdFusion's Cfdump Tag For Debugging Purposes
Improved debugging in ColdFusion with cf_dump tag, offering data type identification, whitespace preservation, and more features than native cfdump. ACF developer's solution for better debugging.
The cfdump tag (AKA cfscript "writedump" function) outputs the contents of a variable of any type for debugging purposes. The variable can be as simple as a string or as complex as a cfc component instance. If you've ever used this and then viewed the source code, you'll see that there's an extreme amount of generated whitespace. I'm not sure if this has ever been reviewed & optimized, but it is something that can be improved. There haven't been many updates to it since CF9 while CF8 seems to be the version that received the most updates. ColdFusion 9: Added the attribute abort. ColdFusion 8:...