trace() not written to flashlog.txt

只愿长相守 提交于 2019-11-28 06:10:30

问题


I'm using mxmlc on a Mac terminal to compile an AS 3.0 project and then I run it by opening the Main.swf in Flash Debugger 10. Now, errors get written to the flashlog.txt just fine but my trace statements don't : ( I have mm.cfg in /Library/Application Support/Macromedia and it contains the following lines:

ErrorReportingEnable=1
TraceOutputFileEnable=1

What am I missing? Why is trace() not written to flashlog.txt?

Thanks for any help!


回答1:


The compiler option "-debug=true" does the job. Like this:

mxmlc -use-network=false -default-background-color=#FFF00F -default-size=760,610 -debug=true Main.as



来源:https://stackoverflow.com/questions/3753649/trace-not-written-to-flashlog-txt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!