- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
好吧,我和我的 friend 正忙得不可开交,试图配置 Adobe Flex SDK 以便在我们的 Ubuntu 机器上正常工作。我们已经安装并配置了 SDK 来编译 ActionScript 文件,但是当我们在 Firefox 中执行编译后的 swf 时,FlashPlayer 调试器无法将跟踪或错误记录到 flashlog.txt。
我们在 Firefox 中安装了 Flash Player Debugger,并在我们的主目录中安装了一个 mm.cfg 文件。
链接到我们尝试过的内容:
http://www.arulraj.net/2010/08/flash-player-debugger-in-ubuntu.html
http://www.gregoryprogrammer.com/2012/12/actionscript-3-code-compilation-in-inux/
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7fc9.html
http://helpx.adobe.com/flash-player/kb/configure-debugger-version-flash-player.html
我们使用的版本:
火狐浏览器 18.0.2
Ubuntu 操作系统 12.0.4
最新的 Flex SDK
最佳答案
我注意到您没有提到使用 -debug 标志进行编译。以下是我采取的步骤:
确保您使用的是调试版播放器(点击 flashplayerversion.com 进行检查)。这在浏览器中变得越来越棘手,尤其是在 64 位 Linux 中。如今,Firefox 可能比 Chrome 更容易。您还可以尝试位于 here 的调试内容投影仪(也称为独立播放器) .
拥有 TraceOutputFileEnable=1
的 ~/mm.cfg 文件。这是我的:
> cat ~/mm.cfg ErrorReportingEnable=1TraceOutputFileEnable=1
> cat Main.aspackage { import flash.display.Sprite; public class Main extends Sprite { public function Main() { trace("Hello flashlog.txt"); } }}
mxmlc -debug Main.as
>flashplayerdebugger Main.swf &>tail ~/.macromedia/Flash_Player/Logs/flashlog.txtHello flashlog.txt
或者打开一个专用终端来跟踪日志文件的写入:
>tail -f ~/.macromedia/Flash_Player/Logs/flashlog.txt
关于debugging - 为什么 Firefox 不会在 Ubuntu 中跟踪到 flashlog.txt?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17131685/
我在 FlashPlayer 日志记录方面遇到问题。 是的,我安装了调试版本,我的profile文件夹中有一个mm.cfg文件(内容为ErrorReportingEnable=1 TraceOutpu
好吧,我和我的 friend 正忙得不可开交,试图配置 Adobe Flex SDK 以便在我们的 Ubuntu 机器上正常工作。我们已经安装并配置了 SDK 来编译 ActionScript 文
我是一名优秀的程序员,十分优秀!