For anyone who might be interrested: I wanted to improve control over variable display at the bottom of the debug output, so I got into the cfmx setup and I discovered a couple of things:
You can create custom debugging templates in cfusionmx/wwwroot/web_inf/debug and they do get added to the drop-down list in the coldfusion administrator... It might be nice to add as a feature later a <cfsetting> attribute which allows you to set the filename programmatically... Asside from some minor CSS modifications ( I prefer Verdana over Times New Roman and a smaller header size ) I was also able to change variable output from a simple loop which outputs "object" for any complex variable such as a structure or query to a <cfdump> which outputs the entire contents... Admittedly, this could seriously inflate the debug execution time and be somewhat dangerous in some situations where the scopes being dumped contain lots of nested complex variables. I also changed the factor which determines whether a given scope is to be output for debugging so that I don't have to go to the CF Administrator and change it for all pages on my cfmx webserver and instead I can turn them on or off for a given individual page programmatically, similar to the way debug output can be turned on of off all together using <cfsetting>. For any who might be interrested, I replaced lines 531 to 628 in cfusionmx/wwwroot/web_inf/debug/classic.cfm with this in my custom.cfm template: <cfparam name="request.debugvars" type="string" default="Application,CGI,Client,Cookie,Form,Request,Server,Session,URL"> <cfloop index="scope_name" list="#request.debugvars#"> <cftry> <cfif IsDefined(scope_name) AND IsStruct(evaluate(scope_name)) AND StructCount(evaluate(scope_name)) GT 0 AND (cfdebugger.check("#scope_name#Var") OR ListFindNoCase(request.debugvars,scope_name))> <p><b><cfoutput>#scope_name# Variables:</cfoutput></b> <!--- <cfloop collection="#APPLICATION#" item="param">#param#=<cftry>#CFDe bugSerializable(APPLICATION[param])#<cfcatch type="Any">#undefined#</cfcatch></cftry> </cfloop> ---><cfdump var="#evaluate(scope_name)#" /></p></cfif> <cfcatch type="Any"></cfcatch> </cftry> </cfloop> I hope this is useful to anyone other than myself. :) Feedback is always welcome. :) s. isaac dealey 954-776-0046 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com