在ubuntu下的firefox中有一个这样的插件flashtracer插件,配置好他就能捕获你的trace,当然你的flashplayer一定要是debug版本的
参考此网站:http://www.sephiroth.it/weblog/archives/2007/01/install_flashtracer_on_linux.php
其实你也可以手动把trace捕获到一个文件里,具体的配置是
在你的~目录下新建一个mm.cfg(在windows中一般是c盘),在ubuntu下一般就是/home/{username};其中的{username}就是你系统的登录名
| 操作系统 | 位置 |
| Windows XP | C:Documents and Settings[user name]mm.cfg |
| Windows 2000 | C:mm.cfg |
| Mac OS X | MacHD:Library:Application Support:macromedia:mm.cfg |
| ubuntu | /home/[user name]/mm.cfg |
在这个文件中写入以下内容
TraceOutPutFileName=/home/fireyang/.macromedia/Flash_Player/Logs/flashlog.txt
ErrorReportingEnable=1
TraceOutputFileEnable=1
MaxWarnings=100
其中:
TraceOutputFileEnable
设置值为 0 (不写入文件) 或 1 (写入文件).
TraceOutputFileName
文件路径,如果没有指定,会在mm.cfg的同目录下生成一个叫flashlog.txt文件
ErrorReportingEnable
设置值为 0 (不输出错误信息到文件) 或 1 (输出错误信息). 默认为0
MaxWarnings
写入文件的错误信息数量。如果为0则没有限制。
Ps:从Flash Player 9 Update开始,我们不能修改日志文件的位置了,默认的位置为:
Windows C:\Documents and Settings\user_name\Application Data\Macromedia\Flash Player\Logs
Macintosh Users/user_name/Library/Preferences/Macromedia/Flash Player/Logs/
Linux home/user_name/macromedia/Flash_Player/Logs/flashlog.txt

