I am trying to use trace() in flash builder 4 – but it doesn’t work!
I am running in “debug”, also I added to the flex compiler options the “-debug=true” option.
What am I doing wrong ???
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In flex 4, a new compiler option is added.
-compiler.omit-trace-statements
the default value is set to true.
this mode omits trace statements for -debug=false mode and enable trace for -debug=true mode automatically.
BUT there is a bug in fcsh.
If you compile the swf with -debug=true after once compiled it for -debug=true mode,
trace statements are still omitted.
If you reboot fcsh, the trace is enabled.
To avoid this, you can disable omit-trace-statements by setting flex-config.
Test.as
Test-config.xml