[flexcoders] Re: Browser to Flex Debugger connection

2006-12-12 Thread Mike Morearty
Just opening the HTML file isn't enough to begin a debugging session.

When you click Flex Builder's debug icon, Flex Builder does two
things: It launches your browser, *and* it starts listening on a
particular socket, waiting for the Flash player to start talking to it.

If you just open the HTML file directly, the Flash player tries to
connect to the debugger's socket, and it doesn't find anyone home --
that's why it displays the Where is the debugger message.  (Flash
Authoring uses the same mechanism, and they support remote debugging;
that's why the player asks you where the debugger is.)

  - Mike


--- In flexcoders@yahoogroups.com, bjorn.schultheiss
[EMAIL PROTECTED] wrote:

 Hi all,
 
 After compiling my app using the sdk with arg -debug=true i then tried
 to open the html file in the browser and get the message.
 Where is your debugger located? -Localhost, -Somewhere else
 I'm working on localhost so i selected that option and after a few
 failed attempts i finally get the message 'fp9 was unable to connect
 to debugger'
 
 Can i connect to Flex Builder 2 debugger perspective in this way?
 
 Regards,
 Bjorn



[flexcoders] Re: Browser to Flex Debugger connection

2006-12-11 Thread Bjorn Schultheiss
Yo,

I got the command-line debugger working,
but is there anyway to hook into FB2 debugger?

Bjorn

--- In flexcoders@yahoogroups.com, bjorn.schultheiss
[EMAIL PROTECTED] wrote:

 Hi all,
 
 After compiling my app using the sdk with arg -debug=true i then tried
 to open the html file in the browser and get the message.
 Where is your debugger located? -Localhost, -Somewhere else
 I'm working on localhost so i selected that option and after a few
 failed attempts i finally get the message 'fp9 was unable to connect
 to debugger'
 
 Can i connect to Flex Builder 2 debugger perspective in this way?
 
 Regards,
 Bjorn