Flex : Waiting for flash player to connect to debugger issue [MAC OS]
Ok, this happened at home before and I have solved.
One reason of the problem is a line located at the hosts file.
Changing line ::1 localhost to 127.0.0.1 localhost is a solution.
Another solution is :
- Open Flash Player Debug version
- Control click
- Click Debugger
- Select Other Machine
- Enter 127.0.0.1
- Click Connect
But there is another problem with MAC OS. Sometimes Flex Builder MAC OS do not open the right Flash Player application. I don’t know why or how, but it occurs.
Today it happened at office, and I have googled a lot and found the solutions located above, but none of them helped me. So I decided to find the Flash Player instance that Flex Builder calls when debugging and the rest of the solution is listed below.
- Click Debug at Flex.
- You get the warning Waiting for flash player to connect to debugger at Progress panel
- Open Activiy Monitor and find Flash Player in the list, select it and click Inspect
- Click Open File and Ports
- If everything was fine then the first line should be /Applications/Adobe Flash CS4/Players/Debug/Flash Player.app/Contents/MacOS/Flash Player
If you have the warning, absolutely it is not.
This occurs because you keep an unpackaged Flash Player Application file somewhere else for instance /Software/Adobe Flash Player, like me. And somehow MAC OS finds this file and opens it instead of the one that should be.
To solve the problem just delete the file that you keep somewhere else, or first archive it into a zip file if you want to keep for further usage before deleting. Click Debug again, and no more waiting.
Hope it helps…




