• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Flash Builder doesn't rebuild the project everytime I modify the code

Guest
Aug 12, 2010 Aug 12, 2010

Copy link to clipboard

Copied

Hi,

Flash Builder doesn't rebuild the project everytime I modify the code.

I find myself chasing ghosts when trying to debug my project. Flash Builder 4.0 doesn't rebuild my project after every change I make.

The "Project - Build Automatically" is of course selected. To make sure the problem is real I ran "Project - Build All" several times. Nothing helped.

For example, I am using a boolean constant to select different code in an if block. Even if I change the value of the boolean, When I debug the code, I see that the constant's value doesn't change. Only If I log out login again, FB will rebuild my code.

This happens too many times and it is very confusing to debug, when you don't know if the result now is with or without your changes.

It also affects the following:

- breakpoints that are set or disabled are not taken into account and the debugger will skip them even if they are set or stop on them if they are disabled.

- the debugger stops the debug on empty lines, if those lines previously contained code.

- When I comment out the declaration of variables. Eclipse doesn't recognize them and doesn't show any hint on them when you hold the CTRL key and hover over, but while in debug mode, when you hover over the variable instance, its shows a value for it.

Thanks for your help.

Bye,

RaamEE-IL

Views

3.8K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 12, 2010 Aug 12, 2010

Copy link to clipboard

Copied

Well.

After a few retries, turns out that the a process of Flash CS5 was stuck and Flash Builder couldn't call it to rebuild the project.

After killing that process, Flash CS5 was reactivated by FB4 and it rebuilt the project.

At no time during my tries to rebuild did I get any feedback from FB saying that Flash CS5 is not responding or that the code cannot rebuild and this seems like another issue that needs to be fix by Adobe team.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 03, 2011 Feb 03, 2011

Copy link to clipboard

Copied

I would love to understand this issue as well. I have had this problem for as long as I have been compiling with eclipse / flash builder. I've always realized it, however, and have just chosen to compile my project in the Flash IDE, which NEVER has a problem building the code and always reflects the current changes, yet much slower.

I don't understand how this could be related to the Flash IDE being stuck in anyway because I do not start my projects in the Flash IDE nor even have it open. I only use the IDE when i need to import assets or when necessary (such as when FB decides not to incorporate my changes).

This is very annoying and I would LOVE to not be dependant on the Flash IDE.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 06, 2011 Feb 06, 2011

Copy link to clipboard

Copied

Hi,

Flash projects in Flash-Builder are relying on the Flash CS5 engine. You cannot create Flash projects without having Flash installed as well. So, when you compile in Flash Builder, you actually run Flash CS5 to compile the project for Flash-Builder. It's quite annoying to need both tools to be running when you're  compiling in Flash-Builder, but that's how it works.

The problem starts when Flash CS5 gets stuck (for various reasons) and doesn't do its part. You think you're changes are compiled on the fly, but they are not and any errors you make in the syntax will not be highlighted until Flash CS5 is restarted.

Hope that answered your question.

Bye.

RaamEE-IL

--------------------------------------------------------------------

bona diagnosis, bona curatio

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 22, 2011 Jul 22, 2011

Copy link to clipboard

Copied

The problem is with the SDK settings selected for the Compiler.

Try going to 'Project' > 'Properties' > 'ActionScript Compiler'.

Now, in the 'Flex SDK section', try changing the SDK. Click on 'Apply'.

This will force FB to rebuild all settings for the project.

You can try again. FB should now have started compiling with latest code changes again.

Please Note: This is not a permanent fix though!

In case the problem re-occurs, you'll need to again perform the steps mentioned above to get FB back on track.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 25, 2011 Jul 25, 2011

Copy link to clipboard

Copied

Cheers m8tes,

I have the same problem now -

I tried now everything - changing compiler Version - removing all code - restarting

Dunno what else to do - any more ideas?

Except reisntall everything ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 20, 2011 Aug 20, 2011

Copy link to clipboard

Copied

Just off the top of mind, I can think of 2 more things you can try

1. Try publishing your project in debug & release mode & look for changes in both the cases.

2. Ensure that your target folder is same as the folder in which you are checking for changes.

Do inform in case any of that helps!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 15, 2012 Oct 15, 2012

Copy link to clipboard

Copied

Hello,

I'm using Flash Builder 4.6, and I'm getting this problem too. None of these suggestions have helped me so far, even though they all seem plausible.

Has anybody solved this yet?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 30, 2013 Dec 30, 2013

Copy link to clipboard

Copied

LATEST

It is a problem with the way Windows is caching files. Once they are cached and Windows looses track the new files will not replace the old versions with your changes. I rarely saw this until updating to W7. Now it is a huge problem.

I run CleanMgr.exe from Windows tools to clean the system and then rebuild. Fixes the stale files and bad break point issues for me.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines