I have been trying to create a debug version of an AIR
desktop runtime and seem to have somehow permanently turned on verbose-stacktraces
. I am using Flash Builder
and was playing with adl
through the Terminal (OSX).
In Flash Builder
for a test project I had the compiler option set to:
-locale en_US -swf-version=21 -debug=true -verbose-stacktraces=true
And was getting continuous console output like this:
2301 AVMINF: MTHD spark.primitives.supportClasses::GraphicElement/get drawY ()
2301 AVMINF: MTHD spark.primitives.supportClasses::GraphicElement/get displayObjectSharingMode ()
2301 AVMINF: MTHD spark.primitives.supportClasses::GraphicElement/get y ()
2301 AVMINF: MTHD flash.geom::Point ()
2301 AVMINF: MTHD spark.primitives.supportClasses::StrokedElement/get stroke ()
I set -verbose-stacktraces=false
, tried it, and then removed that directive completely, but I still get the console dump. Worse, I created a new test project and am getting the verbose console dump for that.
What did I do and how do I undo it?
I'm supporting a legacy Flex project and use Flex and Flash Builder rarely now so my knowledge has rusted and blown away.
You'll always see console output and verbose stacktraces for swfs compiled with -debug=true
.
If you set this option to true, Flex also sets the verbose-stacktraces option to true
If you want to avoid console output. Just "Run" the app instead of launching it in debug mode.
Edit: I think I figured out what you did. Try going into your mm.cfg and changing (or removing) this setting:
AS3Trace = 1 // should be AS3Trace = 0