Rodrigo.C
Rodrigo.C

Reputation: 1173

Trace Flash Builder compiling commands

is there a way to trace the compiler command for flash builder? I mean, I want to know the parameters and files that is compiling internally when I click "build" on FB.

Basically I moved a project to Flash Builder, and everything works fine but I have some runtime issues, and looks like the compiler is doing something wrong with some files (like using old files instead of using the one im changing, this occur only for a particular file, the rest works fine or I think that works fine). Also is different the way to embed some file, that's another reason to check what's doing internally.

I ran the game with mxmlc before, and probably I can compare what's the difference if I get the command executed by FB.

Also, I want to know how to do it if I need to research something in future.

Thanks for any help,

Regards

Upvotes: 0

Views: 186

Answers (1)

Josh
Josh

Reputation: 8159

Flash Builder only recompiles if there has been a change to the code. So if you are changing an asset (image), for example, you won't recompile unless you also make a change to the project.

There are a few ways around this:

  1. Easiest way is to just go into a file and press the space bar at the end of a line. It will add an extra byte to your file, but not to the project (compiler is "smart" and gets rid of unused files, classes, and characters). Since this is not a common thing, it shouldn't be an issue
  2. Project->Clean.... That will force your workspace to rebuild and, in most cases, will also recompile your project
  3. If #2 is failing, first delete bin-debug or whatever you are using as your debug folder, then run Project->Clean...

It's a tad bit annoying (especially when editing external libraries), but it allows for quicker re-launches of the debugger, which is the ultimate goal of that behavior.

Upvotes: 0

Related Questions