简体   繁体   English

使用Flash Player的调试版本跟踪SWF文件

[英]Tracing SWF file with debug version of Flash player

Can I somehow log all AS3 finctions swf calls during runtime with debug version of Flash player? 我可以使用调试版本的Flash Player在运行时以某种方式记录所有AS3功能swf调用吗?

PS I have no access to sources 附言:我无权访问任何来源

If the swf is compiled to release mode, you will not be able to see the trace calls as they are not compiled into a release build. 如果将swf编译为发布模式,则将无法看到跟踪调用,因为它们未编译为发布版本。 If however you know that the swf is compiled to debug mode, there is a file that you can check that the flash player logs to. 但是,如果您知道swf已编译为调试模式,则可以检查Flash Player是否有文件登录。 The location of the file is different depending on your OS. 文件的位置因操作系统而异。 An extract from http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/lcds/help.html?content=build_apps_6.html 摘录自http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/lcds/help.html?content=build_apps_6.html

Operating system Location of log file 操作系统日志文件的位置

Windows 95/98/ME/2000/XP Windows 95/98 / ME / 2000 / XP

C:\\Documents and Settings\\username\\Application Data\\Macromedia\\Flash Player\\Logs C:\\ Documents and Settings \\用户名\\ Application Data \\ Macromedia \\ Flash Player \\ Logs

Windows Vista Windows Vista

C:\\Users\\username\\AppData\\Roaming\\Macromedia\\Flash Player\\Logs C:\\ Users \\用户名\\ AppData \\ Roaming \\ Macromedia \\ Flash Player \\ Logs

Mac OS X Mac OS X

/Users/username/Library/Preferences/Macromedia/Flash Player/Logs/ /用户/用户名/库/首选项/ Macromedia / Flash Player /日志/

Linux 的Linux

/home/username/.macromedia/Flash_Player/Logs/ / home /用户名/.macromedia/Flash_Player/日志/

Here are two plugins for firefox which can assist you with debugging swf files: 这是firefox的两个插件,可以帮助您调试swf文件:

https://addons.mozilla.org/en-US/firefox/addon/flashtracer/ https://addons.mozilla.org/zh-CN/firefox/addon/flashtracer/

https://addons.mozilla.org/en-US/firefox/addon/flashbug/ https://addons.mozilla.org/zh-CN/firefox/addon/flashbug/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM