Debugging 为什么赢了';Firefox是否在Ubuntu中跟踪到flashlog.txt?

Debugging 为什么赢了';Firefox是否在Ubuntu中跟踪到flashlog.txt?,debugging,firefox,ubuntu,actionscript,trace,Debugging,Firefox,Ubuntu,Actionscript,Trace,好的,我和我的朋友正试图将AdobeFlexSDK配置为能在我们的Ubuntu机器上正常工作。我们已经安装并配置了SDK来编译ActionScript文件,但是当我们在Firefox中执行编译后的swf时,FlashPlayer调试器无法将跟踪或错误记录到flashlog.txt 我们在Firefox中安装了Flash Player调试器,并在主目录中安装了一个mm.cfg文件 链接到我们尝试过的内容: 我们正在使用的版本: Firefox浏览器18.0.2 Ubuntu操作系统12.0

好的,我和我的朋友正试图将AdobeFlexSDK配置为能在我们的Ubuntu机器上正常工作。我们已经安装并配置了SDK来编译ActionScript文件,但是当我们在Firefox中执行编译后的swf时,FlashPlayer调试器无法将跟踪或错误记录到flashlog.txt

我们在Firefox中安装了Flash Player调试器,并在主目录中安装了一个mm.cfg文件

链接到我们尝试过的内容:

  • 我们正在使用的版本:

    Firefox浏览器18.0.2

    Ubuntu操作系统12.0.4


    最新的FlexSDK

    我注意到您没有提到使用-debug标志编译。以下是我采取的步骤:

    • 确保您使用的是播放器的调试版本(点击查看)。这在浏览器中变得越来越棘手,尤其是在64位Linux中。现在Firefox可能比Chrome更容易。您还可以尝试位于的调试内容投影仪(也称为独立播放器)

    • 有一个~/mm.cfg文件,其
      traceOutpFileEnable=1
      。这是我的:

    >cat~/mm.cfg ErrorReportingEnable=1 TraceOutputFileEnable=1
    • 在您知道将要执行的地方使用跟踪方法:
    >cat Main.as 包装{ 导入flash.display.Sprite; 公共类Main扩展了Sprite{ 公共功能Main(){ trace(“Hello flashlog.txt”); } } }
    • 使用-debug选项编译SWF:
    mxmlc-调试Main.as
    • 我将使用内容投影仪进行测试:
    >flashplayerdebugger Main.swf& >tail~/.macromedia/Flash_Player/Logs/flashlog.txt 您好flashlog.txt 或打开专用终端,在日志文件写入时跟踪日志文件:

    >tail -f ~/.macromedia/Flash_Player/Logs/flashlog.txt >tail-f~/.macromedia/Flash_Player/Logs/flashlog.txt
    我注意到您没有提到使用-debug标志编译。以下是我采取的步骤:

    • 确保您使用的是播放器的调试版本(点击查看)。这在浏览器中变得越来越棘手,尤其是在64位Linux中。现在Firefox可能比Chrome更容易。您还可以尝试位于的调试内容投影仪(也称为独立播放器)

    • 有一个~/mm.cfg文件,其
      traceOutpFileEnable=1
      。这是我的:

    >cat~/mm.cfg ErrorReportingEnable=1 TraceOutputFileEnable=1
    • 在您知道将要执行的地方使用跟踪方法:
    >cat Main.as 包装{ 导入flash.display.Sprite; 公共类Main扩展了Sprite{ 公共功能Main(){ trace(“Hello flashlog.txt”); } } }
    • 使用-debug选项编译SWF:
    mxmlc-调试Main.as
    • 我将使用内容投影仪进行测试:
    >flashplayerdebugger Main.swf& >tail~/.macromedia/Flash_Player/Logs/flashlog.txt 您好flashlog.txt 或打开专用终端,在日志文件写入时跟踪日志文件:

    >tail -f ~/.macromedia/Flash_Player/Logs/flashlog.txt >tail-f~/.macromedia/Flash_Player/Logs/flashlog.txt mxmlc -debug Main.as >flashplayerdebugger Main.swf & >tail ~/.macromedia/Flash_Player/Logs/flashlog.txt Hello flashlog.txt >tail -f ~/.macromedia/Flash_Player/Logs/flashlog.txt