I have had several ocassions when I debug an application from Flash Builder and the application loads but it fails to connect to the debugger. If your Flex/Flash builder stopped working all of a sudden and if it’s stuck loading with the following message: “Launching: Waiting to connect to the running application…” there might be a few things that you could do.
1> Close Flex/Flash Builder and restart.
2> Clean the project and restart Flex/Flash Builder.
3> Get the latest version of Flash player debugger from http://www.adobe.com/support/flashplayer/downloads.html and try again.
If all this fails then this weird sort of solution worked for me.
Right click on the Flash/Flex application, select Debugger.
Select the option “Other Machine” for the question “Where is the debugger or host application running?” and enter the IP address as 127.0.0.1 and click Connect. This has resolved the issue for me. It’s kind of strange that I needed to switch from localhost to 127.0.0.1 to make it work and if anyone knows the reason why then please leave a comment here.

18 comments ↓
you should check your “hosts” configuration file, sometimes it changes by running some “scripts” , modifying the address of localhost to 0.0.0.0
I cannot express how much this issue has been the bane of my existence. I have tried every solution other than flattening my os and finally this has resolved the problem.
Many thanks,
Gareth
[...] The eventual solution was found here. [...]
Thank you!
I have been trying to figure out why my debugger was not working.
After following the three steps that you listed, it fixed my issue.
Thanks again,
Jake
I tried this as my profiler isn’t working. When I enter in the IP address written above it still cannot connect to the debugger or profiler. The hosts file exists with that IP address too. Bah! back to the drawing board for me!
I am not able to find debugger in right click..pls solve it..
Jaque: That’s because you don’t have the debug version of the Flash Player installed. Please install the Flash Player with content debugger for the browser you’re using from here and you should be good
http://www.adobe.com/support/flashplayer/downloads.html
Another possibility. This may apply to Jaque as well. I knew in advance that I had the debug version installed. I had my default browser set to chrome which does not allow me the option to debug from the application. However when setting my default browser to firefox, I had the option upon right clicking the application during debugging to debug. Applied the fix above and it worked.
Thx
but i have ie6 even it not there..
whic one over there..there are three option in in win.which 1 to install.
Jaque: You should get the one which says “Windows Flash Player 11.0 ActiveX control content debugger (for IE)”
I downloaded Flashplayer11 but i m not able install it..just white screen is coming..Please tell me what is next procedure..Thanks
Finally now idownloaded flashplayer10_3r183_11_winax_debug but still not able to start o debugger mode…
Thk u admin
finally able to debug after intalling flash debugger 11.
Thanks a lot for this solution, before this i am waste complete 1 day to solve this problem.
Really Thanks!
127.0.0.1 worked for me – even for my AIR apps. I had been suffering for months, and hadn’t tried this solution because I thought it wouldn’t work for AIR apps. Glad I finally tried it. Thanks!
Thank you !!! You don’t know how much suffering you have alleviated.
RIA development tool. I polaensrly much prefer this to the build-one-giant-project approach used by Adobe’s Training from the Source book, for example. The one area I have found lacking so far has been regarding PHP database integration. The authors cover only RESTful web services with the Zend Framework. I would have preferred seeing some examples using the popular AMFPHP and WebORB technologies as well. (Installing the Zend Framework on a Linux server seems quite a bit more involved than these other approaches, perhaps especially so for shared server users, who may rarely if ever deal with Apache configuration issues.) For more PHP data integration options, and an encyclopedic coverage of Flex, also check out the Flex 3 Bible , and for some good overall tips and tricks, in addition I recommend Flex 3 Cookbook .
Leave a Comment