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

系统 1578 0

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

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

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

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


更多文章、技术交流、商务合作、联系博主

微信扫码或搜索:z360901061

微信扫一扫加我为好友

QQ号联系: 360901061

您的支持是博主写作最大的动力,如果您喜欢我的文章,感觉我的文章对您有帮助,请用微信扫描下面二维码支持博主2元、5元、10元、20元等您想捐的金额吧,狠狠点击下面给点支持吧,站长非常感激您!手机微信长按不能支付解决办法:请将微信支付二维码保存到相册,切换到微信,然后点击微信右上角扫一扫功能,选择支付二维码完成支付。

【本文对您有帮助就好】

您的支持是博主写作最大的动力,如果您喜欢我的文章,感觉我的文章对您有帮助,请用微信扫描上面二维码支持博主2元、5元、10元、自定义金额等您想捐的金额吧,站长会非常 感谢您的哦!!!

发表我的评论
最新评论 总共0条评论