>Is there a method, tag, etc. available in CF5 that allows me to
>display all CFSET variables and their values like CF_DUMP
>does? I get everything BUT the cfset variables with CF_dump.
>
>Terry Troxel

Hmm I'm not sure if it's possible to look at EVERYTHING in one shot. To get all your 
variables in the local scope, try <cfdump var="#variables#"> (built-in CFML tag) or 
maybe <cf_dump variable="variables">. The first and possibly the second snippet I just 
wrote will probably only work in CFMX because it requires the variables scope to be 
referenceable as a structure.

If you want even more than that, you can try my cf_debug tag I wrote. It has two 
optional attributes called dumpvars and dumpscopes; for each you can specify a 
comma-delimited list of variables and scopes to output. Something <cf_debug 
dumpscopes="session,application,client,variables,attributes"> might show just about 
every variable you would want to see.

cf_debug makes sure shared-scope variables access is locked. It also displays 
execution time and allows you to write basic debug information to a 
log. Contact me off-list ([EMAIL PROTECTED]) if you would like a copy.

Mike Mertsock
Alfred University Web Team
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Reply via email to