ColdFusion Dump All Scopes Utility

Word Count: 94

I am sorry If I am telling folks stuff they already know but I am having tons of fun digging around. So have you ever needed a quick way to see whats going on in every scope? I think I have written debug functions before that dump out a bunch of scopes like application, session and CGI. Well if you want a quick way to see what is living in every scope there is actually a very easy solution. I am on ColdFusion 8.0.1 by the way.

Comments

#1 Posted By: dfguy Posted On: 6/24/08 7:50 AM
now that is nice!
#2 Posted By: Phil Duba Posted On: 6/24/08 9:09 AM
Wow, that's nice. Might be good to put that in an error page as part of logging.
#3 Posted By: Ian Posted On: 6/24/08 10:39 AM
"With great power comes great responsibility."

One thing to keep in mind if you are displaying this on screen or emailing this as part of an error report is that things like credit card numbers and passwords might be getting sent clear text.

For debugging on dev servers this is great! Thanks.
#4 Posted By: Andrew Maurer Posted On: 10/19/08 1:09 PM
Great stuff! Thanks Dan!


Post Your Comment







Show Captcha

If you subscribe, any new posts to this thread will be sent to your email address.

Copyright © 2007 Dan Vega | BlogCFC was created by Raymond Camden. This blog is running version 5.8.001.