flex无法断点调试的解决办法

犯了一个极低的错误,这个原因是自己造成的,是自己把

 

 

改为本地自己即可,

查了些英文网站的解决方案,说是什么系统升级,诺顿杀毒软件问题,都不是自己要的答案,是自己以前不小心改了,后来无论怎么卸载、升级、重装flash插件都一个样

http://hi.baidu.com/phperbo/blog/item/bf77fefb29a73b1e6d22ebe4.html

老是遇见这个问题。又的时候是重启动机子得以解决。

解决方法:

问题:

failed to connect session timed out.
ensure that
1. you compiled your flash application with debugging on.
2. you are running the debugger version of flash player.

用一个程序测试一下

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
<mx:Script>
<![CDATA[
import flash.system.Capabilities;

private function reportVersion():String {
if (Capabilities.isDebugger) {
return "You are running the Debugger version of the Flash Player";
} else {
return "You are running the Non-Debugger version of the Flash Player";
}
}
private function reportType():String {
return Capabilities.playerType + " (" + Capabilities.version + ")";
}
trace("123");
]]>
</mx:Script>

<mx:Label text="{reportVersion()}"/>
<mx:Label text="{reportType()}"/>
</mx:Application>

看是否按装debug。另一个问题好像是病毒问题,我的机子上不装杀毒软件。这个可以排除

我以前装的是flash player 9但是我的机子老是打补定的。http://www.adobe.com/support/flashplayer/downloads.html

 

现在还不知道 flash 9和10的差别 。

下载 flash_debug 10;

install 完毕

console 输出

123
[SWF] C:/Documents and Settings/Administrator/My Documents/Flex Builder 3/test12/bin-debug/test12.swf - 563,178 bytes after decompression

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值