PDA

View Full Version : Problem with FlexBuilder caching code


snowbunny
10-02-2008, 05:57 PM
Hi,

This is something that causes me huge headaches and wastes loads of time.
Often, when I edit an actionScript class in FlexBuilder and rebuild, the new code is completely ignored. If I debug the application, I will see the variables set from the original code, rather than the new version's variables.
It usually takes ages to make FlexBuilder compile the application with the correct code, and I'm still not sure what makes it do this... sometimes forcing a compilation error in the code seems to work (although sometimes this error, such as incorrectly renaming a function is ignored in compilation!). Sometimes editing a file which references this class seems to stop this "caching". But not always.
Can anyone shed any light on what's happening, and why?
I'm using the standalone FlexBuilder, version 3.0, build 3.0.194161 on Windows.

Thanks for your help.

dr_zeus
10-02-2008, 07:46 PM
I've seen it happen from time to time, but certainly not often. Usually, when something like this happens, it's best to choose Project->Clean... from the menu to do a fresh build.