Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
1

Flash Builder 4 - Debugger fails to connect

Guest
Jul 02, 2010 Jul 02, 2010

I've looked at the various other threads but no luck so far.

I'm using Flash Builder 4 and the Flex API 4 and until yesterday all was well - i.e. I could run my app in debug mode. Somehow today things stopped working. Not sure why - I didn't tweak anything in Flash Builder's options. When launching any app (most complicated to the simplest) I get a status bar telling me

launching: waiting for Adobe Flash Player to connect to debugger

that always gets stuck at 57%. Then after a few minutes I get

Failed to connect; session timed out.

Ensure that:

  1. You compiled your Flash application with debugging on.

  2. You are running the debugger version of Flash Player.

I'm using Chrome on Windows 7. I really need to debug.

thank you for any help.

90.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 02, 2010 Jul 02, 2010

It happens many a time ...but you can solve it in 3 ways

1) Clean the project and try.

2) Close flex builder and reopen it. try it...If that doesn't work than go for 3 option

2) Change your workspace and import that project in it or best is create new one and make the changes in it...

Sometimes the workspace get corrupted and so it happens...

If this post answers your question or helps, please kindly mark it as such.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 02, 2010 Jul 02, 2010

Thank you for your help. Unfortunately I've tried all three and had no luck. In fact, I've tried to create a new super simple project that has 1 button and does nothing and the debugger won't work there either.

Interestingly enough, I just found out that if I run stuff in Flash Player, all is fine. I'm starting to suspect that chrome is automagically updating its built in flashplayer to a non-debug version. I wonder...

So, I guess I'm going to use the debugger in Flash, but would still love to know if anyone has any idea of how to fix this in Chrome.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 02, 2010 Jul 02, 2010

Reboot and try again.

There are sites that will tell you if you have a debugger player or not

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 02, 2010 Jul 02, 2010

Thank you for your help. I've rebooted many times but nothing seems to change.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 02, 2010 Jul 02, 2010

Hit this link: http://flashplayerversion.com/

Does it say you have a debugger version?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 06, 2010 Jul 06, 2010

Indeed, it doesn't. But it used to, i.e. I did not change anything. Do you know of a version for chrome that has the debugger on?

f

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 07, 2010 Jul 07, 2010

I had the exact same issue. It appears the problem is an auto updater in Chrome that installs a non-debug version that trumps the debugger.

Found the solution here:

http://www.timo-ernst.net/2010/04/chrome-flash-debugger-not-connecting-to-flexflash-builder/

Cheers!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 26, 2012 Jun 26, 2012

Hi,

I'm facing same issue, "Failed to connect;session time out". For the background, I'm using FB 3 and IE . A strange thing is happening in my Flex Builder though, for one application the debugger is working successfully but for the other its giving this error at 91% launch.

Please suggest.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jul 03, 2012 Jul 03, 2012

Open the Progress Panel (Window>Show View>Other>Progress) and click any red boxes you see there. What has happened is that FB is still compiling the project, but has already launched the browser window. Since the Browser really couldn't load the swf, which was still compiling, you're just kind of "stuck." Once everything cancels out, close the browser and click the "Run" or "Debug" button again. You should find that this time the file launches right off, as it was compiled last time.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 15, 2013 May 15, 2013
LATEST

1) Clean the project and try. - works for me (y)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 06, 2010 Aug 06, 2010

Hopefully Adobe is reading this. I've had this exact same problem since FlexBuilder v3. It's extremely frustrating. I have also experienced this with multiple versions of Firefox and IE all running debugger Flash players, and it has happened about 10 times so far this morning. Restarting Flash Builder sometimes lets me do maybe two or three builds before it happens again. I'd appreciate a more detailed report from Adobe on what exactly is the problem, especially since it is a huge time waster.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 06, 2010 Aug 06, 2010

Are you referring to a specific bug? If not, file one with a project so we

can analyze.

Also see the "flashlog.txt" thread from yesterday. Maybe PS is a factor

here as well.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 06, 2010 Aug 06, 2010

Yes, this is a specific bug that's been around a long time. I've experience this on multiple machines and many different browsers. I also thought I had opened a ticket several years ago and got the same answers that only provided temporary fixes: e.g. re-install project, re-install Flash/FlexBuilder etc.

- Where do I go to officially file a bug? Do I have to have a support contract with Adobe to do this?

- Can you please provide a link to the "flashlog.txt" post? I searched for it and didn't find anything from yesterday.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 06, 2010 Aug 06, 2010

sorry - i never posted more on this after I figure out what had happened.

Basically somehow chrome - my browser of choice - automagically updated my flash version to a non debug one, without telling me anything, overnight. So, one day the debugger was working and the next it wasn't.

I would start by using one of the many sites that can tell you if your browser still has a debug version of flash installed. If so, then I don't think you're suffering from the same problem I was suffering from. If not, you can do two things:

- debug in flash: I now simply run all my apps in flash while I develop. It's a lot more of a controlled environment, works like a charm, the debugger is on, etc.

- fix the flash install on your browser: I ended up skipping this in fear of messing things up more but I think it's probably not that hard.

fed

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 30, 2010 Aug 30, 2010

I believe I figured out my problem and it's a bit different. I definately have debugger versions of Flash Player installed. If I stopped a debug session from within FlashBuilder 4.0.1 everything seems to be working fine. HOWEVER, if I stopped a debug session by simply closing the browser tab, then in most instances the very next debug session failed to launch. I've been able to duplicate this on 4 different machines. Since Adobe never responded to my questions above for additional details on where/how to file a bug, I have not filed this as a bug. I hope this helps someone else.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 30, 2010 Aug 30, 2010

I get this issue ~ 40 times a day and it is extremely frustrating.   I have tried reinstalling flash builder, uninstalling anything that I think might affect it (fiddler & servicecapture), and have tried chrome, firefox, and internet explorer as my default browser for flex to no percievable difference.  The only recourse is to force a project clean and rebuild - which is absolutely horrible as the app I work on is friggin huge and basically adds about 2 minutes everytime i want to do a build.  Soooo frustrating....     

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 06, 2010 Nov 06, 2010

I think I can help because I had the same problem and I spent a lot of hours trying to fix the problem. I tried several solutions but none of them worked. The problem is that the Flash Player in the browser hasn't debugging capabilities. The link mention earlier, http://flashplayerversion.com/, is a really good one to check if your browser's Flash Player has this feature.

The solution for IE and Firefox can be found from this link http://www.adobe.com/support/flashplayer/downloads.html.

Make sure you download:

The first link will install debugger player for your IE and the second one for your Firefox. I think it's a bit misleading to mention "Netscape" nowadays, it should be switched to Firefox.

Because Chrome has the Flash Player integrated (which is GREAT) it does, however, cause more problems to get a debugger player for it. However, as long as I have at least one browser that makes debugging in Flash Builder function -- I'm happy!

One last thing, in Flash Builder make sure your web browser in Preferences is one that has a debugging supported browser. Go to Window > Preferences and choose General > Web Browser. Make sure the browser is either IE or Firefox. I also tried with Opera (v. 10.63) and it had the debugged version of Flash Player. So, Google just needs to do add a little improvement that developers can have a debugged player and everything is perfect.

I hope this helps!

--Herman

Small typos fixed. Message was edited by: UpNorthWeb

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 07, 2010 Nov 07, 2010

Hi,

I have a problem when running debug in my Flash Builder 4. When i click on the debug button, when it launch i have ERROR 404 showing up in my browser.

I have check the debug folder path and compare it with the browser they are the same. I noticed that the index.html is missing. Then i tried to copy the index.html from my release folder and somehow it run. But the when i run the debug again, it shows the ERROR 404 in my browser. Somehow it deleted the index.html that i copied from the release folder. 

Anyone experiencing it?

Regards.

Cris

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 07, 2010 Nov 07, 2010

By the way i'm using MAC and Safari brownser. Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Nov 07, 2010 Nov 07, 2010

What's in your html-template folder?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 08, 2010 Nov 08, 2010

Hi,

Inside my html-template folders are:

history - folder

swfobject.js - file

playerProductinstall.swf - file

thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Nov 08, 2010 Nov 08, 2010

Well that's your problem. You should have a index.template.html file in there. I'm not sure how you would regenerate this, but try going to Project -> Properties -> Flex Compiler and then try changing around some of the settings for HTML Wrapper. This should trigger a regeneration of that file.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 08, 2010 Nov 08, 2010

Hi,

Thanks for the advice, it works. But its very strange, because when i checked the flex compiler properties, the Generate HTML-Wrapper File is enable. What i did is, i disable it then enable it back, and  whoala.. it generate the html file. Is this a bug or something?

Once again, Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Nov 09, 2010 Nov 09, 2010

Nah, stuff happens. It probably got deleted on accident. I personally wouldn't bother with a bug report.

Glad you got it worked out.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines