views:

658

answers:

4

I've built a simple application in Flex Builder 3 with some trace() calls. It's an "ActionScript Project", no MXML or AIR involved. I don't run the app from within Eclipse, I just open the generated html file with Firefox.

I'm using the Flash Player 10 Debug version. I've correctly set mm.cnf to log trace output, following the official instructions. A flashlog.txt file is generate in the appropriate location.

Despite all that, trace output is not shown in the log file. What am I doing wrong?

(I suspect it's a compiler option, but I can find no such option in the project options in FlexBuilder)

(If I do run the app from Eclipse, by pressing F11, I can see trace output but only inside Eclipse, not in the log file)

A: 

Try setting the -debug compiler argument to true.

Is there anything in the flashlog.txt, or is it completely empty?

Pbirkoff
It is empty. Also when I try to add -debug it says "Option -debug cannot be used when compiling with Flex Builder" :S
Bart van Heukelom
A: 

Perhaps you can use De MonsterDebugger instead?

De MonsterDebugger is an open source debugger for Adobe Flash, Flex and AIR. De MonsterDebugger is made in Flex and AIR by design studio De Monsters.

If that doesn't work google "fxspy" or "Alcon debugger". Those are two other good debugging options.

Bryan Clover
A: 

Somehow it solved itself

Bart van Heukelom
YAY for self correcting problems. Wish all bugs had the same courtesy.
invertedSpear
A: 

Okay I have the same problem..The trace() function call doesnt work with the flex 3 builder. It gives me Failed to connect; session timed out. Ensure that: 1. You compiled your Flash application with debugging on. 2. You are running the debugger version of Flash Player.

And C:\Windows\System32\Macromed\Flash\Flash10e.ocx

Flex Builder cannot locate the required debugger version of Flash Player. You might need to install the debugger version of Flash Player 9 or reinstall Flex Builder.

Do you want to try to debug with the current version?

I did install the flash 9 player..But it doesnt work!

lalit