Debugging with ColdFusion Builder and Flash Builder in same IDE
Tags: Coldfusion, Flash, Flex
One of the things that took me by surprise was the way that I couldn't do any debugging while I had ColdFusion Builder and Flash Builder installed in the same Eclipse instance. Debugging ColdFusion projects on their own wasn't a problem and yet I struggled with getting this to work with a Flex and ColdFusion project.
That was till now.
I had tried what I thought was a lot of things and it dawned on me that I just might have been making the required settings in the wrong spot.
So to be able to enjoy debugging the both projects together one has to make a mapping that didn't make sense to me for a long time.
On the Flash Builder side there is nothing that needs to change, you can just use the debugger in the same manner. But with ColdFusion we need to know make a mapping, I made the mistake of adding this to the server settings wizard when if fact I should have been applying this to the ColdFusion Debug Mappings.
So the trick is that a Flex project by default will have to mappings in the project that are for debugging and release, these get populated when the project gets built. So the thing is that we need to map the eclipse project location to the src folder in the project, and then the ColdFusion path is mapped to the root of where the pages will be served from.
I searched the net high and low for a solution to this, and never found anything that worked.
Well this works a treat, happy debugging.
There are no comments for this entry.



TweetBacks