trace() 未写入 flashlog.txt [英] trace() not written to flashlog.txt

查看:17
本文介绍了trace() 未写入 flashlog.txt的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Mac 终端上使用 mxmlc 编译 AS 3.0 项目,然后通过在 Flash Debugger 10 中打开 Main.swf 来运行它.现在,错误被写入 flashlog.txt 就好了,但我的跟踪语句没有:(我在/Library/Application Support/Macromedia 中有 mm.cfg,它包含以下几行:

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

我错过了什么?为什么trace()没有写入flashlog.txt?

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

感谢您的帮助!

推荐答案

编译器选项-debug=true"可以完成这项工作.像这样:

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

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

这篇关于trace() 未写入 flashlog.txt的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆