Raymond Camden's Blog Rss

Is it cold in here or is it just me? ColdFire RC1 Released

26

Posted in Development, ColdFusion | Posted on 03-13-2007 | 5,040 views

The title says it all. Get the bits from RIAForge:

http://coldfire.riaforge.org

The docs suck - but are probably better than most OS projects out there. ;) Speaking of OS - the code for the extension itself will be released. (Am I cheating by releasing just the binary? Probably - but I run the site so I'll abuse my power.) Edited: Adam just let me know - the XPI format is a zip style format, so all the code is in there. So I'm not cheating. Great.

Enjoy. (And yes, both Podman and I have wishlists. ;)

Oh - and there is a bug tracker at the RIAForge site - so please file any bugs you may find, or add suggestions. Do not suggest anything currently in the default debugging template - since I will be adding everything overtime anyway.

Comments

[Add Comment] [Subscribe to Comments]

You're great Ray!
Great work. This is going to be very useful. I did find a bug however. I reported it on riaforge.

--Dave
@Marcus - Don't forget Adam as well. We are a team. :)

@Dave - I'll check it out.
I'm pretty sure I did everything correctly but now whenever I try to go to any sites on my server, I get nothing.. nothing in Firebug and nothing in Firefox. It says the page finished loading but doesn't go anywhere.

I even restarted CF, restarted firefox. The CF tab shows up in Firebug just nothing happens. But if I switch the dropdown back to classic, my debug shows up and the page loads. Any ideas?
In Firebug, go to HTML/Net, and look at the headers. See if you see the coldfire header. It is a big xml packet.
Nada... it looks like nothing is making it to Firebug. I started from a fresh window, hit the IP, it finishes loading... the request even shows up on the "Net" tab, but nothing else shows up in Firebug.
Can you fire up something like ServiceCapture and see if the header is coming back?
Ray, Adam,

ColdFire So rocks. I have been looking for a solution to have debug info at hand but not visible.

Good Work.
I have a weird problem, something tells me you'll probably know the reason. On some of my CF sites I'm getting an error because it can't find application.applicationName. Sure enough I tested it and the variable exists on some of my sites and not others. I thought it might be an application.cfc vs application.cfm error, but apparently not. I do have a this.name defined in my application.cfc but that's not doing anything for me. Any ideas?
If you cfdump application on the page where ColdFire is throwing the error, do you see applicationname there? I can't imagine why it would not exist if you have an Application scope.
No, it's not there. Don't worry about it, you've done your part, I'll do mine and try to debug this. Just wanted to see if it wasn't something obvious I just didn't know about. Thanks and I'll post something here if I figure it out.
What a great idea, thanks!
I'm getting weird behavior too:

I installed per the instructions.

I can hit a very simple CF page and it works.

Trying to hit the Mach-II application I'm currently working on gives strange results. When I enter the URL the browser refreshes but doesn't actually appear to do anything. It remains on the same page.

I have a page setup to clear my application and session scopes - when I hit that directory - I get:

Application and Session Scope Cleared!
500 Element APPLICATIONNAME is undefined in APPLICATION.
Element APPLICATIONNAME is undefined in APPLICATION.

And the page title reads "JRun Servlet Error"

But if I then go back and try to access the homepage - it again goes nowhere.

Now the question is "how do I uninstall" because now I can't do anything :)
FWIW - Setting the template back to classic.cfm allows things to work again without uninstalling anything...
OK, figured out the "500 Element APPLICATIONNAME is undefined in APPLICATION" error. Doing StructClear(application) is apparently a big no-no, it'll clear the applicationName variable. You have to remove that code from wherever your app initializes and then restart your CF server, things will work fine.
Cool. I will be updating CF to have a major try/catch so that it can report an error nicer.
Cool, worked just fine.

But a few notes. You should really use X-Coldfire or similar header. HTTP spec says custom headers should start with X-.

Also, at least HTTP request headers are limited in size (8kb by default in Apache). I wonder if putting big XML messages into HTTP reply header might cause problems with some browsers, web servers or proxies?
ColdFire rocks! Great job Ray!
When I open the coldfire.xpi file, nothing happens... I do not get prompted to restart firefox (2.0.0.2) or even get an hourglass to indicate something is happening? Anyone else experiencing this?
Ok, I found myself a cure. File open does not work, but when I drag and drop the .xpi file in the browser window, it works. Great tool! I can finally use CF debug without the anger of my beautifull layout being corrupted! Thx!
Ray, I get the same thing as Will. Everything seems ok on install etc then I get nothing but a white screen and nothing in firebug. I turn the debugging page back to classic from coldfire and it comes back up.
I installed Firebug and ColdFire as suggested. When I view pages, I can see Firebug info on HTML, CSS, DOM, NET, etc.., but nothing in the ColdFusion tab.

Windows XP SP2, Firefox 2.0.0.1
I'm having trouble getting it to work on anything more than a simple one page script, tried with two completely different apps both written using contrasting custom frameworks, one using application.cfc and other not. both return a white blank page when i turn on coldfire template in debug, yet i can see coldfusion doing it's job in the terminal window...

any ideas?

firefox 2.0.0.2, mac intel
i just saw the open ticket for this issue on riaforge, cheers
So when's the version that fits into CFEclipse providing debugging straight into the IDE coming out then? ;)
Not sure if anyone is still having issues with Coldfire not showing up. I was, and finally figured it out! Everything was working, up until firebug was suppose to output the data. The content was in the header x-Coldfire.

It ended up being a setting within FireBug. Try this: Goto Net -> Then under options, make sure Disable Network Monitoring is OFF (unchecked). Refresh the page, and it should work. At least it worked for me.

Hope this helps someone! Coldfire Rocks!

[Add Comment] [Subscribe to Comments]