在使用Flex 4.6SDK编译我的mxml文件之后。我试图使用Windows批处理文件通过Flash投影机内容调试器使用Flex调试器运行SWF文件。我能够使用以下方法启动调试器和会话:
fdb File.swf但是,为了运行应用程序,我需要在控制台中输入两次continue。
我试过使用:
(echo run File.swf
echo continue
echo continue)| fdb但这会返回错误:
(fdb) Do you want to attempt to halt execution? (y or n) Not confirmed.
[SWF] c:\users\austin\documents\newproject\src\File.swf\[[DYNAMIC]]\1 - 674,784 bytes after decompression
[SWF] c:\users\austin\documents\newproject\src\File.swf\[[DYNAMIC]]\2 - 381,334 bytes after decompression
[trace] Warning: Ignoring 'secure' attribute in policy file from http://fpdownload.adobe.com/pub/swz/crossdomain.xml.
The 'secure' attribute is only permitted in HTTPS and socket policy files.
See http://www.adobe.com/go/strict_policy_files for details.
[SWF] c:\users\austin\documents\newproject\src\File.swf\[[DYNAMIC]]\3 - 1,148,91
9 bytes after decompression
Additional ActionScript code has been loaded from a SWF or a frame.
To see all currently loaded files, type 'info files'.
Set additional breakpoints as desired, and then type 'continue'.我的总体目标是通过批处理文件在调试器上运行SWF文件,以便在命令提示符中看到来自trace("functions")的返回。
发布于 2015-03-31 03:10:47
fdb -unit成功了!
以下是最后的工作代码:
(echo run File.swf
echo continue
echo continue)| fdb -unithttps://stackoverflow.com/questions/29313928
复制相似问题