0

Improved Classic CF debugging template

ColdFusion

Ever wanted to be able to cut and paste the SQL statements from the classic debug output *even* when it you've been using cfqueryparam?

Ever wish the listed stack of templates that ran were sorted by the order they ran, instead of in descending order by longest-running?

Thanks to Matt Jones for his contributions. Let me know if anyone finds any problems with it, as it hasn't been thoroughly tested. I'm fairly certain it should work for CFMX 6.1 and 7.

If anyone has additional requests or debugging improvements, we can add them and make the ideal advanced debugging template for the CF community.

Instructions:

  1. copy the code below into a CF template
  2. name it something like classic_advanced.cfm
  3. save it to the debug dir under the CF WWW root (i.e. C:\CFusionMX\wwwroot\WEB-INF\debug for CFMX 6.1 Stand-alone)
  4. log into your CF Administrator, Debugging Settings
  5. for the select box labeled "Select Debugging Output Format", choose the template you just saved
  6. now you're kickin a$$. Navigate one of your apps and see the new features in action.

tags:
ColdFusion

Search

Aaron  Longnion

Austin, TX