I usually include a dump method in my CFC's that simply cfdumps out whatever internals you want to see and cfaborts.
If all your CFCs extend a single base component, this is even easier since you can put the method there. ~Brad ----- Original Message ----- From: "Scott Brady" <dsbr...@gmail.com> To: "cf-talk" <cf-talk@houseoffusion.com> Sent: Saturday, June 26, 2010 9:17 PM Subject: Dump out CFC properties/variables > > What's a good way to dump out the properties/instance variables of a CFC? > > I have a page where I can pass in a variable name and dumping it out > dynamically. But, with CFCs, obviously all I get are method names, which > aren't that useful, when, in the case of beans, I want the values of the > variables in the CFC (basically, the result of every getter). Typically, > these beans are in the session scope. > > It seems like it shouldn't be that hard, but I'm not having much luck. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334872 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm