Where is the Debugger or Profiler running? Flex Builder Debugger

Where is the Debugger or Profiler running? Why, localhost, I presume.....

Recently I installed Flex Builder 3 on a new machine and experienced an error when running/debugging Flex applications. What would happen is:

  • I run a Flex application
  • A popup loads asking "Where is the debugger or profiler running?"
  • I select localhost
  • The popup briefly disappears
  • The popup returns asking "Where is the debugger or profiler running?"

Another message that showed up is "A connection to the debugger or profiler could not be established by Adobe Flash Player 9"

Clicking the cancel button removed the popup and continued running the Flex application. The debugger was not working properly.

After some searching and some trial and error, I found the Flex Debugger runs on port 3434. Unblocking this port in the firewall allowed the debugger to connect on localhost.

Surprisingly, this wasn't documented very well. I hope this helps someone else. Programming in Flex without the debugger makes Homer something something...

Update The popup has come back! Oddly enough, the debugger runs now. I am very glad for that. However running any compiled Flex/AIR code brings up this silly "Where is the debugger?" popup. If anyone has an idea how to supress this, please let me know.

Update: This has been solved. Details are located here. Thank You to Shannon Hicks for giving me the solution.

Comments
Shouldn't have to do this... very strange behavior for your firewall to block a request to localhost. Routing table is probably messed up.
# Posted By Clint Modien | 11/27/07 1:24 PM
I had the same trouble, and my window's firewall was off.
# Posted By Joe | 11/27/07 2:50 PM
I've seen the symptoms of this problem when switching to the latest version of Flex 3. It doesn't make use of the debugging popup anymore.
# Posted By Clint Modien | 11/27/07 4:17 PM
I see this error all the time, and eventually gave up trying to sort it out. No firewall running on my local machine. I just assumed that the debugger is not running.

How do you get a debugger instance running w/o clicking that debug + Launch button from Flex Builder?
# Posted By Jeffry Houser | 11/30/07 10:59 AM
Also having this problem.

It has started doing it on clients machines too, which is REALLY irritating.

If anyone finds a fix for this, let us know!
# Posted By Miles Wilson | 12/10/07 3:52 PM
Hi,

I am using Flex 3 and I just started getting this as well.

-Malik
# Posted By Malik | 12/10/07 10:59 PM
i'm now seeing this to. started happening all of a sudden. haven't found a fix yet...
# Posted By chris markiewicz | 12/14/07 4:17 PM
@All

Shannon Hicks gave me the solution to this. You can find details here:

http://www.nodans.com/index.cfm/2007/12/19/Fix-for...


DW
# Posted By Dan Wilson | 12/19/07 1:56 PM
I see this error all the time, and eventually gave up trying to sort it out. No firewall running on my local machine. I just assumed that the debugger is not running.
# Posted By hankjmatt | 3/21/09 11:26 AM
Yes i have same problem as they i installed a adobe cs4 in my computer then everytime a go to standalone player the pop up appears i search google how to fix it they say install adobe activeX i install it already but the error pops again can anyone help me from this problem
# Posted By jhay | 6/23/09 9:18 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.9.001. Contact Blog Owner