使Flex Builder调试器开始侦听传入的调试会话连接 [英] Make Flex Builder debugger start listening for incoming debug session connections

查看:207
本文介绍了使Flex Builder调试器开始侦听传入的调试会话连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法让Flex Builder连接到运行Flash Player Debugger的现有浏览器会话?我可以像这样连接到FDB,但是使用Builder我需要点击Debug并急于关闭新打开的浏览器窗口,然后再加载Flash文件,然后返回到我要连接的会话,然后右键点击它启动调试器。不幸的是,这不是很可靠,因为我不能总是打开窗口,需要几次尝试才能连接到我感兴趣的会话。如果我可以告诉Builder'开始调试',然后等待连接,我现在可以冷静地浏览浏览器,右击,点击调试,提供IP和瞧。这将允许我在测试人员的计算机上运行的会话上检查难以复制的错误变量。

解决方案

如上所述其他答案,您可以修改启动配置来引用不包含SWF的任何URL;但我只是想补充说,你也可以使用URLabout:blank,其优点是(从Flash Builder 4开始)Flash Builder甚至不会打扰浏览器页面 - 它只会开始听



- Flash Builder团队的Mike Morearty


Is there any way to get Flex Builder to connect to an existing browser session running Flash Player Debugger? I can connect to FDB like this, but with Builder I need to click Debug and rush to close the newly opened browser window before it loads the Flash file and then go back to the session I want to connect and right click it to start the debugger. Unfortunately this is not very reliable as I can't always beat the window opening, requiring several attempts before being able to connect to the session I am interested in. If I could just tell Builder 'Start debugging' and then have it wait for the connection, I could now calmly go over to the browser, right click, hit debug, provide the IP and voila. This would allow me to inspect variables on a hard to replicate bug on a session running on a tester's computer.

解决方案

As mentioned in the other answers, you can modify the launch configuration to refer to any URL that doesn't contain a SWF; but I just wanted to add that you can also use the URL "about:blank", which has the advantage that (as of Flash Builder 4) Flash Builder won't even bother opening a browser page -- it will just start listening on the socket.

-- Mike Morearty, Flash Builder team

这篇关于使Flex Builder调试器开始侦听传入的调试会话连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆