等待 Flash 播放器连接到调试器

发布于 2024-08-19 18:24:22 字数 147 浏览 4 评论 0原文

使用 Flex Builder 3:
在过去的几个小时里,我在每次调试启动时都遇到了这个问题。
我以前也曾得到过这个,但只是偶尔一次,而不是每次调试启动时都会得到这个。
我发现 Flex 调试器使用某个 7935 端口,但我无法弄清楚
怎么改变呢?

Using Flex Builder 3 :
I have been getting this problem in every single debug launch for past few hours.
I used to get this earlier too, but once in a while, not with every debug launch.
I found out that flex debugger uses a certain 7935 port but I can't figure out
how to change it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

何其悲哀 2024-08-26 18:24:22

我记得遇到过几次这个问题。这可能与 Flex Profiler 有关(我过去常常不小心点击它,然后尝试启动调试器)。

如果您启动探查器并停止得太快,它会向您的主目录中的文件中添加一些不应该添加的内容。

在您的操作系统上查看 /path/to/home/mm.cfg(在 Mac 上,您可以使用 mate ~/mm.cfg 在 textmate 中打开它)。 mm.cfg 文件存储了有关 Flex 中调试的一些信息

然后在该文件中,确保这是唯一的内容:


ErrorReportingEnable=1
TraceOutputFileEnable=1

如果有额外的一行(不记得/找不到它,比如

PreloadSwf=/Users/[username]/Documents/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhost&port=9999

), delete it.

让我知道是否可以解决问题。

I remember getting this problem a few times. It might have to do with the Flex Profiler (I used to accidentally click that every now and then trying to launch the debugger).

If you start the Profiler and stop it too fast, it will add something to a file in your home directory that it shouldn't.

Check out /path/to/home/mm.cfg on your operating system (on mac, you can open it in textmate with mate ~/mm.cfg). The mm.cfg file stores some information about debugging in Flex

Then in that file, make sure this is the only content:


ErrorReportingEnable=1
TraceOutputFileEnable=1

If there's an extra line (can't remember/find it, something like

PreloadSwf=/Users/[username]/Documents/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhost&port=9999

), delete it.

Let me know if that fixes it.

Lance

披肩女神 2024-08-26 18:24:22

另外,请确保您没有使用 Chrome。 Flash Player 调试器(在撰写本文时)在 Chrome 中不起作用。

Also just make sure you're not using Chrome. Flash Player debugger (at the time of writing this) does not work in Chrome.

南街女流氓 2024-08-26 18:24:22

这对我有用:右键单击 SWF,选择“打开方式...”,选择“其他...”,选择调试播放器并选中“始终打开方式”复选框。
Mac OSX / FlashBuilder4

This worked for me: right click on a SWF, select "Open with...", choose "Other...", select the Debug player and check the "Always Open With" checkbox.
Mac OSX / FlashBuilder4

丢了幸福的猪 2024-08-26 18:24:22

右键单击您启动的 Flash 应用程序(在浏览器或独立 Flash 播放器中),然后单击调试器(如果已启用),然后将单选按钮从 localhost 更改为其他计算机,然后输入 IP 127.0.0.1,然后您就可以自由调试了。我猜问题可能出在你的主机文件上。

Right click your launched flash application, either in the browser or standalone flash player and click on debugger if enabled and change the radio button from localhost to other machine and enter the ip 127.0.0.1 and you are free to debug. I guess the problem maybe from your host file.

情感失落者 2024-08-26 18:24:22

将浏览器从默认(chrome)更改为 IE 对我有用

Changing the browser from default (chrome) to IE worked for me

世界和平 2024-08-26 18:24:22

与 danjp 类似 - 在 Flash Player 自动更新后,这种情况开始发生在我身上。我只是从 Adobe Flash Player 下载页面 重新安装了调试 Flash 播放器以及所有内容按预期工作。

Similar to danjp - This started happening to me after a Flash Player automatic update. I simply reinstalled the debug flash players from the Adobe Flash Player download page and everything works as expected.

身边 2024-08-26 18:24:22

确保 bin-debug 目录中有一个具有正确名称的 swf 文件,并且该名称与项目的 index.template.html 文件中指定的 swf 名称匹配。

我错误地用另一个项目中的类似文件替换了 index.template.html 文件。当我尝试调试时,我收到“正在等待 flash 播放器连接到调试器...”状态,直到超时。

Make sure there is a swf file with the proper name in your bin-debug directory and that name matches the swf name specified in index.template.html file for the project.

I had replaced index.template.html file by mistake with a similar one from another project. When I tried to debug, I got this "Waiting for flash player to connect to debugger…" status till it timed out.

我不咬妳我踢妳 2024-08-26 18:24:22

对我来说,问题是 Internet Explorer 打开并显示认证问题,如果我不继续,调试器将显示此错误。如果我继续使用 ie,就不会出现问题。

To me the problem was that internet explorer opened and showed a certification problem, if i didn´t continue this the debugger would show this error. If i continued on ie, no problem happens.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文