RESOLVED! Flex Builder 3 Debugger Stopped Working!! March 11, 2008
Posted by therush in Adobe, Flex.Tags: debug flex
trackback
HELLO WORLD,
This one shall never be forgotten. After a couple hours more of troubleshooting this issue I returned to a dialog setting I visited once before. But this time I tried something a little different;
As I stated before, if I debug my Flex app, the app runs in the browser but the debugger is unable to connect. So I ran it again. As the debugger was trying to connect I went to the running app in the browser. I right-clicked on the app bringing up the Flash Player context menu. I clicked on the Debugger menu item (see image below).

This then brought up the familiar Flash Player Debugger dialog box (see image below)

Now in the past I would simply click on the Connect button, but with no success. I then decided to specify Other Machine and entering my localhost IP address (I tried entering Localhost without success). I then clicked on the Connect button. Suddenly a change occurred on the Flex Builder interface. I first though that the process of waiting for the debugger to connect timed out, but Low and Behold! The debugger connected!! I couldn’t believe my eyes. Was it that simple all along? I stopped the debugger and started it again with my breakpoints. Again the debugger connected … without complaint. I am now a happy camper.
I’ve been suffering headaches for the past couple of days (even today). This issue only served to make them worse. I even dreamed about it last night. However now I can clear my mind and rest easy that my Flex Builder Debugger is Back! (unfortunately so are my headaches)
Thanks all who commented on my last post for the help. Even though none of them provided a solution, I learned a lot along the way.



If you need to do that, maybe you don’t have the latest debug Player.
Hi Tom,
Actually, I used the code in my previous post to confirm that I am using the very latest version of the Debug Flash Player. In addition, I have uninstalled the Flash Player (using the Adobe supplied uninstaller), reinstalled the Debug Flash Player, and restarted the PC several times.
By the way, the debugger never stopped working when debugging AIR apps. In fact I ported my Flex 3 app to n AIR app and continued my testing and debugging the Flex app as an AIR app. That was a learning exercise in itself. I have to encapsulate the Flex specific script and the AIR specific script into two different classes. Then depending on which project I am working with (Flex or AIR) it would use the appropriate classes. Fortunatly I deployed the Flex app as an AIR app and not the other way around.
Thanks for the tip anyway.
Brilliant! Thanks for posting this, I’ve been googling on and off for a few weeks now trying to find out how to re-enable break-points since I updated some combination of flash player, flex builder and mac os. Setting the local IP address specifically fixed it for me too.
Definitely a weird bug, since the debugger was working perfectly when an error was thrown, but the debug player would hang if any breakpoints were set.
Thanks again!
Awesome! thanks dude for publishing this, finally I found out what went wrong and my Flex Builder can connect back to debugger.
Thanks heaps!
I had the same problem and after reading this post I right-clicked on Debugger and there I saw really weird thing – it was trying to connect to 192.168.100 (non-existing address in my network), so I simply selected the Localhost and it worked.
Thanks for the post!
Cheers,
Dmitri.
Excellent!! thanks therush. It also solved my problem
Thanks a lot man….. it really helped me ……. i was unable 2 connect to debugger since two days now it got resolved …. now i hope i can meet my deadline if everything else goes right
Thanks for your publication. I had similar problem, i a your solution but after testing i found that problem with connection is by missing entry in windows domain resolving file (hosts). After creating “127.0.0.1 localhost” line flash debugger connects with “localhost” radio checked. But why debuggers worked before if there was not a line…?
Interesting — I’m getting the same symptoms and have tried pretty much everything described in this and the prior article and still haven’t had any luck. I’ve got the debug player version 9.0.124 installed. Upon changing the debugger settings to my local IP address, I get the following alert from the browser:
“A connection to the debugger or profiler could not be established by Adobe Flash Player 9″.
Anyone else had similar issues? Suggestions?
Thanks, same thing happend here.
Not sure why that worked but it did. I’ve never had to click the “connect” at all before, but once specifying and it worked. Thanks!
SOG knives…
Interesting ideas… I wonder how the Hollywood media would portray this?…
[...] this guy wasted hours finding a fix to this strange issue so I didn’t have to. Right click on the swf and click on “debugger” in the flash [...]
Muito obrigado!
Você não sabe a que ponto minha paciência foi-se. Eu fiquei muito puto por nao saber o que fazer com este problema no meu flex builder 3. Os fóruns de flex aqui no Brasil não sabem de nada, bronca de sistema ninguem consegue resolver.
Thank you so much!
You don’t know how my patience vanished. I was really angered for doesn’t know what to do with this problem in my flex builder 3. That forums here in Brazil don’t know anything, a great system problem nobody can solve.
Thanks again!
The problem I encountered is related to enabling the profiler. The solution was posted at http://www.fingersdancing.net/2008/06/flex-debugger-crashing-eclipse-safari.html and has to do with the PreloadSwf line in the mm.cfg file. Once I commented out the line the debugger worked as expected for both IE and Firefox.
I’ve reinstalled the latest Flex Builder and flash debuggers, edited my config files, and opened ports all over and still profiler doesn’t work… really annoying.
respect ünd thnx!! ;]
I am using Flex builder 3 and Fire fox 3. When I tried to debug in Flex builder, the Fire fog pops up, but it’s not connected to debugger, do I need to install some kind of dll for Fire fog?
Thank you for your help.
I’m really confused because when I right-click “Debugger” is grayed out. Anything else I’ve found on this says that button isn’t even supposed to be available, but is simply there to let you know that you have the debugger version installed.
Ideas?
Possibly your problem could be originating in the same issue that I’m writing about here: http://thoughts.novaleaf.com/johanm/2008/11/20/debug-output-trace-stopped-working-in-flex-builder-3/
The bug tickets at Adobe and Mozilla is still open on the subject and hopefully they will be resolved soon.
Thanks a lot for posting this – since upgrading to Flash Player 10 and Adobe AIR 1.5, debugging stopped working, and others have had the same problems. Changing the IP address as per your description solved it!
Thanks a lot for this post!!! I had the same problem one day at 1am – lucky for me after 30mins I found your post.
[...] but thank God it’s a 2 second fix ( I took the risk to burrow the images from the other blog: my saviour [...]
thanks dude…you saved my time i rather quickly googled my problem and voila!! i got to this page and problem solved.
WHOOO .. thanks for that .. i just spent half a day on this one, till i found this post .. the most annoying thing again, reinstalled fp 5 times, flex about 3 times .. was going nuts ! not a good start to the new year. Thanks once again.
Paul
Still having this problem after following previous suggestions. Any ideas?
Debugger option is grayed out and not available so the fix doesn’t work.
Thanks for the solution. Debugger was broken from the minute Flex was installed on a new Vista box. Appreciate the insight.
Thanks!!! I’ve run into this issue dozens of times on a number of computers and never could figure out what to do. How stupid that 127.0.0.1 works but “localhost” does not.
Worked like a charm! How does it feel to have eliminated major frustration?
Thank you!
Thankx man!! I encountered the error and after just ONE search in google i found this and BOOM error fixed!! Thankx again
Hi, im using mac and doesnt work, any other solution for this problem?
Thanks! Now Flex Builder seems so much more useful
thanks, very useful
Very nicely done! Solved my problem. I’ll never touch default settings again!
–yeah right.
Fix it for me too. This was driving me crazy since I was getting this error on XP at work but not on Vista at home!
Thanks for tracking this down.
Thank you, thank you, thank you.
I’ve been struggling, ignoring, returning to struggle more with this issue.
Your solution fixed my problem. Mac OS X Leopard, Flash Debugger 9 and Flex Builder 3.2
Thank for your taking the time to post it.
I thank you very much!!!
I had problems on Vista64, Flash Debugger 10 and Flex Builder 3.2
[...] After a couple of attempts of changing UAC settings, looking up ports etc I found a solution here. Basically what you need to do is specify where your application is running. Right click on the [...]
billion thanks to you ..
I stuck almost 5 hours
I am going to shout from Tokyo, Japan. Thank you very much! It just worked!!
Thanks for posting! It worked for me too!
Woohoo!
Conor
I found the cause in case anyone was interested. The localhost value in my hosts file had been corrupted somehow. I just had to set it back to 127.0.0.1 and it worked with the debugger set to localhost or set to 127.0.0.1
Thanks! It works here too!
Hello!
Very Interesting post! Thank you for such interesting resource!
PS: Sorry for my bad english, I’v just started to learn this language
See you!
Your, Raiul Baztepo
If the option for “debugger” is grayed-out, then double-check to make sure that you have uploaded the debug version of the Flex app, and not the release version.
The debug player I was using I couldn’t find a way to get that dialog up, and couldn’t get Eclipse to launch anything in a browser (only an Air app), so I’ve just spent half an hour trying to resolve the same problem, this was the solution for me:
in hosts (\drivers\etc) localhost was bound to the ipv6 address ::1
It seems Eclipse/Flash doesn’t recognize this, so I had to add an additional line for the IPv4 address, a line containing:
127.0.0.1 localhost
This fixed it straight away for me.
Champion! Thanks.
wow thanks! never thought my problem would be as simple as this..
now im back on track! thanks again!!
I’m having the same problem and this doesn’t work me… because the Debugger menu item is grayed out in the context menu.
Hmmm.
Thanks BUT
I wasted 2 hours on this problem and then I found your post.
After making the change, it worked “like a dream”.
Then it stopped working again “like a nightmare”.
So, there is no solution for this.
The community of Flex programmers is deemed to spend hours on the most basic of development functions – run the debugger.
And you write you hate Vista?
I admit I am a newbie outside of Microsoft, but its not a very encouraging entree into the world of Flash..
Does anyone have any more ideas?
Thanks
I was having the same problem with launching an AIR APP in run and debug mode. I finally changed the application version in the
your app name-app.xml file to:
application xmlns=”http://ns.adobe.com/air/application/1.5.1″
and all runs well in version 10
It’s all very weird and most likely related to the hosts configuration file.
But the thing related to it that I experienced with Flash Player Uninstall, is that it simply hung and didn’t uninstall a thing (on Mac).
With every possible player-deploying thing closed, the only evidence of this piece of software (or shall I say crap) were 2 lines from the console:
09.07.09 21:47:17 authexec[59427] executing /bin/sleep09.07.09 21:52:24 authexec[59458] executing /bin/sleep
So pretty bad all this.