Waiting for flash player to connect to debugger

18,511

Solution 1

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

Solution 2

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

Solution 3

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.

Solution 4

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

Solution 5

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

Share:
18,511
simplfuzz
Author by

simplfuzz

Updated on June 16, 2022

Comments

  • simplfuzz
    simplfuzz about 2 years

    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?