Tag Archives: debug

Debug SWF 文件

事实上我一直很好奇像FDT这样的第三方工具是怎么实现swf文件的调试的,因为之前我也尝试过用ant手动编译swf文件,可编译完成后只能手动打开编译好的swf文件,更别说debug这个swf了。

今天用法fd来编译swf的时候偶然发现它调用了fdb这样一个命令,于是上网查资料,发现原来我们竟然可以在命令行里debug swf文件,不仅仅是trace我们甚至可以断点,条件断点,查看堆栈和变量,甚至可以set变量。

好强大的flex sdk

具体的调试方式请看

http://help.adobe.com/en_US/Flex/4.0/UsingSDK/WS2db454920e96a9e51e63e3d11c   more...

Debugging Flex applications with mm.cfg and flashlog.txt

When working with Flex applications, it may useful to see the output from the trace() function. Well, the good news is that if you have the debug version of the Flash Player installed, it is really easy to redirect the trace() output to an external file which can you browse using any text editor.

Th   more...