如何从 PPAPI 内容调试器 Flash Player 获取跟踪输出 [英] How to get trace output from PPAPI content debugger Flash Player

查看:20
本文介绍了如何从 PPAPI 内容调试器 Flash Player 获取跟踪输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Windows 8 上使用 Chrome 39.0.2171.95.我运行了 Adob​​e 的 uninstall_flash_player.exe.我安装了 这篇 Adob​​e 博客文章.

I'm using Chrome 39.0.2171.95 on Windows 8. I ran Adobe's uninstall_flash_player.exe. I installed the PPAPI content debugger Flash Player announced in this Adobe blog post.

当我转到 chrome://plugins 并使用右上角的链接展开详细信息时,我可以看到内置的 PepperFlash 播放器仍然存在,但已禁用.插件一:

When I go to chrome://plugins and expand the details with the link at the upper right, I can see that the built-in PepperFlash player is still there, but is disabled. The plugin one:

Location:   C:WINDOWSsystem32MacromedFlashpepflashplayer32_16_0_0_235.dll
Type:   PPAPI (out-of-process)

已启用.到目前为止,一切都很好.

is enabled. So far, so good.

根据我从 这篇 Adob​​e 论坛帖子 中收集的信息,我复制了我的 mm.cfg 文件到:

Based on information I gleaned from this Adobe forum post, I copied my mm.cfg file to:

%USERPROFILE%/AppData/Local/Google/Chrome/User Data/Default/Pepper Data/Shockwave Flash/System

%USERPROFILE%/AppData/Local/Google/Chrome/User Data/Default/Pepper Data/Shockwave Flash/System

(我必须创建系统目录.)

(I had to create the System directory.)

mm.cfg 文件包含:

The mm.cfg file contains:

TraceOutputFileEnable=1
ErrorReportingEnable=1
AS3Verbose=0
TraceOutputBuffered=1
AS3Trace=0

我假设这个 Flash 播放器写入的日志文件与 NPAPI 播放器写入的日志文件不同,因为 Chrome 对文件系统访问有非常严格的限制.在任何情况下,都不会向 NPAPI 插件使用的 flashlog.txt 文件写入任何内容.我也找不到任何类似于下面的日志文件的内容

I assume that the log file this Flash player writes to is not the same as the one written to by the NPAPI player, because Chrome is very restrictive about filesystem access. In any case, there is nothing being written to the flashlog.txt file used by the NPAPI plugin. Nor can I find anything resembling a log file beneath

%USERPROFILE%/AppData/Local/Google/Chrome/User Data/Default/Pepper Data/Shockwave Flash

%USERPROFILE%/AppData/Local/Google/Chrome/User Data/Default/Pepper Data/Shockwave Flash

而且我找不到任何类似于 Adob​​e 有意义的文档.

And I can't find anything resembling meaningful documentation from Adobe.

有人成功地完成了我想做的事情吗?

Has anyone successfully done what I'm trying to do?

推荐答案

在将 mm.cfg 文件创建到 "%USERPROFILE%/AppData/Local/Google/Chrome/User Data 之后/Default/Pepper Data/Shockwave Flash/System",你应该重启chrome然后运行你的swf文件,你的日志文件将在这里创建:"%USERPROFILE%/AppData/Local/Google/Chrome/User Data/Default/Pepper Data/Shockwave Flash/WritableRoot/Logs" 并命名为 flashlog.txt.如果路径 WritableRoot/Logs 不存在,则会自动创建.

After creating your mm.cfg file into "%USERPROFILE%/AppData/Local/Google/Chrome/User Data/Default/Pepper Data/Shockwave Flash/System", you should restart chrome and then run your swf file, your log file will be created here : "%USERPROFILE%/AppData/Local/Google/Chrome/User Data/Default/Pepper Data/Shockwave Flash/WritableRoot/Logs" and it's named flashlog.txt. If the path WritableRoot/Logs didn't exist, it will be created automatically.

因此,回顾一下 Chrome 上的 PPAPI Flash Player 调试器版本和 Windows 7/8 上的 Opera 的所有内容:

So to recap all that for the debugger version of the PPAPI Flash Player on Chrome and Opera on Windows 7/8 :

Windows 7/8 PPAPI

mm.cfg :

TraceOutputFileEnable=1
ErrorReportingEnable=1

mm.cfg 位置:

铬:

"%USERPROFILE%/AppData/Local/Google/Chrome/User Data/Default/Pepper Data/Shockwave Flash/System"

歌剧:

"%USERPROFILE%/AppData/Roaming/Opera Software/Opera Stable/Pepper Data/Shockwave Flash/System"

日志文件位置:

铬:

"%USERPROFILE%/AppData/Local/Google/Chrome/User Data/Default/Pepper Data/Shockwave Flash/WritableRoot/Logs/flashlog.txt"

歌剧:

"%USERPROFILE%/AppData/Roaming/Opera Software/Opera Stable/Pepper Data/Shockwave Flash/WritableRoot/Logs/flashlog.txt"  

Windows 7/8 NPAPI/ActiveX

mm.cfg 位置:

%USERPROFILE%

日志文件位置:

"%USERPROFILE%/AppData/Roaming/Macromedia/Flash Player/Logs/flashlog.txt"

Mac Chrome PPAPI

mm.cfg 位置:

"/Users/%USERNAME%/Library/Application Support/Google/Chrome/Default/Pepper Data/Shockwave Flash/System/mm.cfg"

日志文件位置:

"/Users/%USERNAME%/Library/Application Support/Google/Chrome/Default/Pepper Data/Shockwave Flash/WritableRoot/Logs/flashlog.txt"

Mac Chrome NPAPI(不推荐使用 Chrome NPAPI,但这可能也适用于其他浏览器,如 firefox)

mm.cfg 位置:

"/Library/Application Support/Macromedia/mm.cfg"

日志文件位置:

"/Users/%USERNAME%/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt"

有关详细信息,请单击此处了解如何编辑 mm.cfg文件并从这里了解日志文件位置.警告 - 本文档中的日志文件位置可能不是最新的.

For more information, click here for how to edit the mm.cfg file and from here to know the log file location. WARNING - the log files locations in this documentation may not be up-to-date.

希望能帮到大家.

这篇关于如何从 PPAPI 内容调试器 Flash Player 获取跟踪输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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