ColdFire 1.0 Released

I'm happy to say that as of about 2 minute ago, the bits for ColdFire 1.0 were released to RIAForge. I'm even happier to say that I didn't have to do a lick of work for this last release - Nathan Mische did it all! This release adds full variables support to the debugger. You can now enter "form" as a variable and see the form scope. Or form.id. Anything really. This version makes use of the JavaScript Dump code from Net Grow. Thank you very much guys for letting us use the code.

Below is a screen show showing both a dump in the actual page and what tracing the form scope looks like in ColdFire:

For folks who don't know what ColdFire is - it is an addon to the popular Firebug extension. It allows you to use ColdFusion debugging without all the crazy output added to the bottom of the page.

Comments

Nathan Mische's Gravatar First I want to thank Ray and Adam for letting me work on this project. It has been a lot of fun and I've learned a lot in the process.

To find out a little more about ColdFire's features check out my blog at http://www.mischefamily.com/nathan. I hope to post some followup entries soon on how we implemented some of this stuff.
# Posted By Nathan Mische | 9/25/07 11:15 AM
Sensei Loco's Gravatar Congrats on the 1.0 release!!
-A happy user :)
# Posted By Sensei Loco | 9/25/07 12:27 PM
Shane Zehnder's Gravatar I just got it installed and I already found some errors in my templates I did not know existed before. Handy tool. o.O
# Posted By Shane Zehnder | 9/25/07 12:50 PM
Jason Klingstedt's Gravatar #1 Great tool. Thanks so much for it.

#2 I noticed a bit of a bug. When I open up FireBug in it's own window (Mac and PC), it no longer works properly.

Not a biggie, as I/we will turn this extension on/off as needed in development, but just a heads up.

Thanks again.
# Posted By Jason Klingstedt | 9/25/07 4:39 PM
Raymond Camden's Gravatar Um, would I sound stupid if I said I never knew you could pop Firebug to a new window? I'll check with Nathan.
# Posted By Raymond Camden | 9/25/07 4:41 PM
Jason Klingstedt's Gravatar No.

And FYI, it's the little carat button next to the close button.

I often run FB in it's own window on my 2nd monitor when I am doing a lot of DOM looping, working on a large amount of JS code in the console, or in this case wanting to look at all of the dump for CLIENT in it's own window.
# Posted By Jason Klingstedt | 9/25/07 5:29 PM
Terry Schmitt's Gravatar Ditto the problem when opening Firebug in it's own window.
No ColdFire buttons appear...
Pretty cool otherwise.
# Posted By Terry Schmitt | 9/25/07 7:21 PM
Isaac Sunkes's Gravatar I notice Arrays start at 0 when dumping variables? Is this in the documentation, or is this done on purpose?

I am using CF7 here at work.
# Posted By Isaac Sunkes | 9/26/07 9:57 AM
Raymond Camden's Gravatar The dump is done in JS, so that is why. We can change that though.

p.s. You will never, EVER, convince me that arrays starting at 0 make sense. I don't care if thats how they started years ago in whatever computer language- it's dumb - and I'm happy CF is "smart" about it.
# Posted By Raymond Camden | 9/26/07 10:02 AM
Nathan Mische's Gravatar It is a side effect of the translation between CF data types and JS datatypes. What actually gets passed to the ColdFire panel is a JavaScript array with the same data as the CF array, however JavaScript arrays are 0 based. The variable formatting still needs a little work so I'll keep this in mind when working on the next release.
# Posted By Nathan Mische | 9/26/07 10:04 AM
Nathan Mische's Gravatar @Jason and Terry - ColdFire not showing when you open Firebug in a new window is a definite bug. I'm looking into it.
# Posted By Nathan Mische | 9/26/07 10:07 AM
Isaac Sunkes's Gravatar Ray & Nathan,

Ah, makes sense now. I agree with you that all Arrays should start at 1. My whole team just installed Coldfire. I still don't think its set in that I will never have to cfdump a variable in the page again.

Great Work on this.
# Posted By Isaac Sunkes | 9/26/07 10:17 AM
Andrew's Gravatar This is cool. One thing in the docs - it says to extract to the web-inf folder, when actually you need to go one folder deeper to the debug folder (at least with CF 8)
# Posted By Andrew | 9/28/07 8:07 AM
Raymond Camden's Gravatar Andrew, what docs? The .doc file says:

Next you need to find your ColdFusion installation folder. Typically this will be C:\ColdFusion8. ColdFire was tested on ColdFusion 8, but should work in ColdFusion 6 & 7. Under your ColdFusion installation folder, find the wwwroot\WEB-INF\debug folder. Copy coldfire.cfm to it.

As you can see - there it does say debug.
# Posted By Raymond Camden | 9/28/07 8:35 AM
Raymond Camden's Gravatar ColdFire 1.001 released. I just pushed Nathan's fixes up to RIAForge. Works like a charm.

Remember - if you like this - please visit Nathan's wishlist. My wishlist has gotten plenty of love - so show some appreciation to him please. :)
# Posted By Raymond Camden | 9/28/07 8:40 AM