Home > AIR, Flex, Flex Builder > AIR – Process terminated without establishing connection to debugger

AIR – Process terminated without establishing connection to debugger


This is strange and I am not sure if anybody else had the same  experience . Today morning when I opened Flex builder to continue my work on an AIR  application after couple of builds and runs the application stopped launching. I tried several times and was confused as to what could have happened to the application that was running perfectly last time. Then I tried debugging it only to find a prompt which says -”Process terminated without establishing connection to debugger”.

To find a fix to this I turned to the only hope for all developers GOOGLE and found that there was a similar issue reported to the Adobe BugList http://tinyurl.com/d3ws5h but this issue was reported only for MAC machines and mine was windows.

It suddenly struck my mind that it was after the application threw a runtime error all this started and curiously I opened the taskmanger and BINGO!! here it is adl.exe is still running. I ended adl process in the task manager and everything was to normal. The adl.exe which is located inside the bin folder under sdk folder of the Adobe Flex  installation directory is the factor which launches your AIR application (something like C:\Adobe\Flex Builder 3\sdks\3.4.0\bin).

Now what could have happened is when the application threw a run time exception even though the application was closed the instance of adl.exe was still running in the system which prevented the next launch.  This might not be proper fix but surely which can get you out of trouble. I wonder if anybody else had faced the same problem if yes, do let me know if you had some other way to fix this.

About these ads
Categories: AIR, Flex, Flex Builder Tags: , , ,
  1. December 24, 2009 at 2:13 pm | #1

    Yes, faced this problem on Windows Machine,too. The problem is quite usual, I simply go and kill all adl-s (the running adl doesn’t always lock FB, once I had nine adl.exe processes till the problem appeared). If you use FlashDevelop, you can write a .bat file killing it automatically and than building the app. Similarly, you can customize building process for FB

    • Sunil Nair
      December 24, 2009 at 4:07 pm | #2

      @DL1t: I faced this issue with one adl.exe process :) Thank you for your inputs

    • Satheesh Chakravarthi
      October 4, 2010 at 5:19 am | #3

      Thanks, DL1t. The solution you provided worked like a champ.

      Thanks again.

      With kind regards,
      Satheesh C.

  2. Sound
    June 4, 2010 at 5:25 am | #4

    Hi All,
    This is Soundara… well, I got the same issue when I am trying to debug my Flex AIR Application… I couldn’t open Debugging Mode.

    Pls, Can any one of u help me out of this issue.

  3. Tarah
    December 3, 2010 at 1:22 am | #5

    Thanks so much! This is exactly what I needed. Thank the heavens for Google.

    T

  4. Mandar
    November 10, 2011 at 10:56 am | #6

    Hi Sunil. It is not working in my pc and getting same error. what should I do to running air file? do you think is that problem occur because OS32 and 64bit?

    • Sunil Nair
      December 3, 2011 at 3:55 pm | #7

      Mandar, you mean your machine does not run AIR files?

  1. December 24, 2009 at 11:13 am | #1
  2. December 31, 2009 at 2:13 am | #2

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: