Waiting for flash player to connect to debugger
Asked Answered
O

8

6

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?

Odom answered 3/2, 2010 at 10:1 Comment(2)
The whole debug/profile launch part of FlexBuilder is a complete let down and constantly prone to failure. Sadly, the (Adobe) alternatives for ActionScript authoring are somewhat worse. I'm considering a wholesale move to FlashDevelop.Inanition
This might solve your problem blog.air4android.com/?p=59 HTHRoz
A
5

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

Araliaceous answered 3/2, 2010 at 10:8 Comment(4)
It works. I have deleted the mm.cfg file. In fact I had manually created this file in order to make the Profiler work with the "PreloadSwf" command. Though the Profiler didn't work even after that :-)Odom
So, basically I just deleted this file, since the Profiler wasn't working anyway.Odom
cool :). I don't know if you should delete the file though, you might want to keep it there with those two lines in there, who knows what'll happen. cheers!Araliaceous
The mm.cfg file might also be located in /Library/Application Support/Macromedia on Mac OS XDepressor
H
3

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

Hypermeter answered 10/6, 2011 at 16:17 Comment(0)
C
2

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

Caras answered 1/9, 2010 at 21:9 Comment(0)
M
2

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.

Monkshood answered 18/2, 2011 at 14:28 Comment(2)
what do you mean "click on debugger" - how do I get there?Hypermeter
If you are running the Debugger version of Flash, right clicking wil bring up a menu with the Debugger option. Otherwise change your settings or install the relevant debugger version adobe.com/support/flashplayer/downloads.htmlFunctionalism
D
2

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

Descendent answered 7/7, 2011 at 7:25 Comment(0)
S
1

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.

Saurel answered 7/9, 2010 at 21:5 Comment(0)
H
0

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.

Homelike answered 17/5, 2011 at 9:28 Comment(0)
J
0

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.

Jocelynjocelyne answered 6/7, 2012 at 12:38 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.