Ask a Jedi: Working with ColdFusion's Debug Query Display and CFQUERYPARAM
Eric asked a question I thought others might be interested in as well:
Ray, I often find it useful when a cfquery tanks to take the SQL code provided in the error, put it into my editor, and play around with the code there. However, when using cfqueryparam, this becomes a much bigger challenge because the values are not directly in the SQL query. I have to sort through the param structure and manually replace the values with (param 1) etc. Is there any way to grab the query with the param values replaced?
If you don't know what he means, he is talking about debug displays like so....

There are multiple ways you can work with this. Obviously you can cut and paste, but for anything besides a simple query, this is going to be difficult. ColdFire automatically replaces the ? when it displays the query:

Other options include additional plugins by Nathan Mische (who is running ColdFire now don't forget):
CF Debug Copy for Fire: This will work with ColdFusion's classic debug output and let you simply right click/copy into the correct format.
ColdFusion Debug SQL Explorer Extension: This is another option that works with an Eclipse plugin. CFEclipse users may prefer this one, but I haven't tried it myself. (My queries never have errors. Ever.)

files in:
cfusion\wwwroot\WEB-INF\debug\ - i'm on cf 6
I haven't done this particular change, but i don't think it'll take much work to make that change looking at the file.
You can make multiple files and choose which to use from the admin.
http://blogactionday.org/
http://www.bennadel.com/blog/459-Merging-ColdFusio...
You can get our version here:
http://blog.singlebrook.com/2007/12/better-debuggi...
http://cfdebugcopie.riaforge.org/ (for IE)
http://cfdebugcopy.riaforge.org/ (for Firefox)
Ray, unfortunately there are a lot of us who are forced to use IE6 by our IT departments.
When I turned debugging on today and changed the page to Coldfire, the administrator page now says "Either the Macromedia application server(s) are unreachable or none of them has a mapping to process this request."
My apologies, I guess that I hadn't really paid attention since our last upgrade - I am fairly confident in saying that it was broken as recently as 7?
@RR - Try with CF8. :)
I made a standalone windows app a few months ago that does this as well, and blogged it here:
http://www.dopefly.com/techblog/entry.cfm?entry=22...
I uninstalled/reinstalled ColdFusion, turned all the debugging options on and cfide/administrator locked up again.
So I uninstalled/reinstalled ColdFusion and turned on only "Enable Request Debugging Output" with Coldfire and now it is working.
So turning on one of these options locks up cfide/administrator:
Enable Robust Exception Information
Enable AJAX Debug Log Window
Timer Information
Flash Form Compile Errors and Messages
Enable Performance Monitoring
But all is well.
I seem to remember this was mentioned in Ben Forta's blog.
@BO - The issue is that - your main request didn't do anything except use Ajax stuff.
Of course, you also want to ensure you have debugging enabled, and set to ColdFire, and that you aren't restricting to an IP that doesn't match yourself.
BTO