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

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

问题描述

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

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.

推荐答案

如其他答案中所述,您可以修改启动配置以引用任何不包含 SWF 的 URL;但我只想补充一点,您也可以使用 URLabout:blank",它的优点是(从 Flash Builder 4 开始)Flash Builder 甚至不会费心打开浏览器页面——它只会开始监听插座.

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 团队

-- Mike Morearty, Flash Builder team

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

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