FDT4 as3 debug方法

刚装FDT4,在Debug的时候就出现这样的问题

1 Console上面说:
2 
3 Using Flex SDK 4 Debugger Adapter.
4 [Info] Could not connect to the player, will try to connect for the next 72000 ms
5 [Info] Could not connect to the player, will try to connect for the next 64000 ms
6 [Info] Could not connect to the player, will try to connect for the next 56000 ms

选择File>>Properties>Run/DebugSetting选项卡,点击new选择当前项目的SWF,OK,再选择Star选项卡,Viewer下拉菜单中选择Player

注意:如果没有出现Star选项卡就有可能你在其他类里debug过会以当前类为主类。所以到(.settings>>launch文件夹)下看是否只有当前项目的主文件,还有其他就删除即可。

再到Windows>>Preferences设置选择debug版本Player即可

posted @ 2012-06-26 23:10  9筒  阅读(247)  评论(0编辑  收藏  举报