Flex SDK Omit Trace Bug And Solutions

Hospital-Red-icon We knew there was a compiler bug in Flash Builder 4 in previous article Flash Builder 4 Compiler Bug ( FB 4.0 build 272416 ) And Solutions and listed all compiler options of mxmlc, we have known how to avoid that issue, but it isn’t the end, oppositely only a begin. :)

Because Ticore continue his digging and found the farther Flex SDK 4 Omit Trace Bug(Chinese Traditional), if

-compiler.debug=false -compiler.omit-trace-statements=true

be set in the compiler argument, it would cause the flex SDK compiler setting in disorder—all “trace()” would be skipped, and couldn’t back to debug mode, no matter modify the compiler setting or not.

Or if you only set:


the same issue would be caused because


was set on flex-config.xml as a default.


Ticore also provided two solutions:

add -compiler.omit-trace-statements=false into compiler arguments.
edit flex-config.xml, change omit-trace-statements to false

Although Flex 4 SDK and Flash Builder 4 was released after more than six months in BETA, but some details like above not be paid adequate attention.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • Reddit
  • Technorati
  • StumbleUpon
  • Twitter
RSS Enjoy this Post? Subscribe to Ntt.cc

RSS Feed   RSS Feed     Email Feed  Email Feed Follow us Follow us
You can leave a response, or trackback from your own site.

Leave a Reply