ColdFire Update Released

I just released a new version of ColdFire over on the RIAForge site. This version is an update to both the Firefox extension and the coldfire.cfm ColdFusion debugging template. Below are the highlights for this release:

Better Variable Formatting

Prior to this release we were using the JavaScript Dump Method from NetGrow. While this worked, it was less than ideal because the NetGrow code is designed for debugging JavaScript, not ColdFusion variables that happened to be serialized in JavaScript. So for this release I've rewritten the variable dumping code using Firebug's domplate templating engine, with the end result being that the output in variables tab should match that of <cfdump>.

Fallback to Classic or Dockable Debugging Templates

I've gotten this request from a few people so I finally added it to this release. You can now configure coldfire.cfm to include the classic or dockable debugging templates when the ColdFire extension is not available. To do this you just need to make a small tweak to the coldfire.cfm. If you want to fallback to the classic.cfm template, just change the hardcoded condition on line 44:

<!--- Set to true if you would like to fall back to classic.cfm --->
<cfelseif false>
<cfinclude template="classic.cfm" />

The same is true for dockable, just change the condition on line 48:

<!--- Set to true if you would like to fall back to dockable.cfm --->
<cfelseif false>
<cfinclude template="dockable.cfm" />


Once you make one of the above changes users will see the alternate debugging output if they are using a browser other than Firefox, or if they have the ColdFire extension disabled. (In other words, if you enable an alternate debugging template you can no longer "hide" debugging info.)

Variable Traces and Trace Categories

Before this release the trace panel only displayed output from text traces, i.e. <cftrace text="Hello" />. Variable traces, i.e. <cftrace var="myVar" />, were not encoded by the coldfire.cfm debugging template and thus were not displayed by the extension. This release fixes that and also adds support for the category attribute, so if you happen to assign your trace a category it will show up in the Category column under the Trace tab.

That's it for this release. I already have a few ideas for the next release, but if you have something you really want to see in ColdFire let me know.

Craig McDonald's Gravatar Great stuff, the reworked variables output is excellent!
# Posted By Craig McDonald | 9/15/08 5:38 PM
Nathan Mische's Gravatar Thanks Craig. The new variables formatting took a good bit a work so I'm glad someone likes it :)
# Posted By Nathan Mische | 9/15/08 10:23 PM
Josh's Gravatar I installed and followed all of the instructions, but every time I load FF3 I get this error:

An error occurred during a connection to

SSL received a record with incorrect Message Authentication Code.

(Error code: ssl_error_bad_mac_read)
# Posted By Josh | 9/17/08 4:50 PM
Nathan Mische's Gravatar @Josh - I'm not sure what is causing this error. My best advice is to create a new profile in Firefox and install only Firebug 1.2 and ColdFire 1.2.
# Posted By Nathan Mische | 9/17/08 6:26 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.8.001.