Strange indeed.

Shell script opens up Safari without any issues. Remember that the same is true for FB when opening help documentation. It brings it right up in Safari.

The preferences in FB for Safari are set to:

Name: Safari
Location: /usr/bin/open
Parameters: -a Safari %URL%

This obviously works, as FB starts up Safari when using the help documents.

For what it's worth, I checked this out on a MacBook Pro running Mac OS X and I now understand why everyone agrees that the debugger should start up based on the selection in the preferences. Didn't have any problems there to switch between the browsers.

Only conclusion that I can draw for the problem Mac OS X install is that Flex Builder is having an issue picking up the browser preference when targeting a browser for debugging and must revert back to the system's default browser.

Shell script works, preferences seem to be working for FB help documentation in Safari. The problem shows up when starting a debug session.

I wonder if we are having issues with the underlying Eclipse framework.

Jurgen


Mike Morearty wrote:

Strange. For what it's worth, the exact command line used by Flex
Builder to launch Safari is:

/usr/bin/open -a %1 %2

where %1 is the full path to the browser specified by the Eclipse
browser preferences, and %2 is the URL of your app. So, it is
normally this for Safari:

/usr/bin/open -a /Applications/Safari.app/Content/MacOS/Safari
YOUR_URL_GOES_HERE

Try that from a shell script (without the URL on the end), and see if
Safari opens.

- Mike

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>, Jurgen Beck <[EMAIL PROTECTED]> wrote:
>
> Hey Mike,
>
> Thanks for the response!
>
> This is happening on Mac OS X with Flex Builder 2.0.1. The system's
> default browser is set to Firefox. For the Flex debugging I'd like to
> use Safari though. I've been running into some caching issues with
> Firefox that I have documented in another post, thus the reason to use
> Safari. Safari is at version 3.0.3.
>
> Firefox and Safari are installed in their default locations
> (Applications folder).
>
> I've done a little bit more testing with the External Web Browser
> settings in Preferences and it seems to me that Flex Builder is having
> difficulties locating the Safari browser instance and is defaulting to
> the system default browser for debugging, which in my case is Firefox.
> This, even though the help documentation starts up in Safari when the
> selection is set to use Safari as the external browser.
>
> So, the question then would be what to specify for the Location and
> Parameters settings in Edit External Web Browser when setting up the
> Safari entry.
>
> Jurgen
>
>
> Mike Morearty wrote:
> >
> > Hi Jurgen,
> >
> > Carlos was correct -- changing the value in Window > Preferences >
> > General > Web Browser is how you change what browser Flex Builder uses
> > to debug. If that doesn't work for you, then something is going
> > wrong, but I am not aware of any bugs in that area.
> >
> > There is no per-project setting that is in any way related to this.
> > The only per-project setting is, what URL is used when launching; but
> > this has no effect at all on our choice of which browser to use.
> >
> > Just curious: What operating system are you on? What is your system
> > default browser, and what browser are you trying to force Flex Builder
> > to use? Is there anything nonstandard about how you installed any of
> > your browsers -- e.g. did you install Firefox into a nonstandard
> > location, or anything like that?
> >
> > I can't really think of much that would be going wrong here, but with
> > more info, I might be able to take a guess.
> >
> > - Mike Morearty
> > Adobe Flex Builder team
> > http://www.morearty.com/blog <http://www.morearty.com/blog> <http://www.morearty.com/blog <http://www.morearty.com/blog>>
> >
> > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> > <mailto:flexcoders%40yahoogroups.com>, Jurgen Beck <jurgen@> wrote:
> > >
> > > Thanks, but that doesn't seem to have an effect on the browser
that the
> > > debugger uses. This seems to only affect the browser use for the
help
> > > documentation.
> > >
> > > I'm sure I'm missing something.
> > >
> > > Jurgen
> > >
> > > carlos m wrote:
> > > > In FB click on the Window >> Preferences >> General >> Web
Browser.
> > > >
> > > > HTH,
> > > >
> > > > Carlos
> > > >
> > > > ----- Original Message ----
> > > > From: Jurgen Beck <jurgen@>
> > > > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroups.com>
> > > > Sent: Wednesday, August 29, 2007 10:06:39 AM
> > > > Subject: Re: [flexcoders] Flex Builder 2.0.1: Change Browser for
> > Debugging
> > > >
> > > > I asked this yesterday, but I'm not sure if I missed any possible
> > > > responses to it. So here is another quick summary:
> > > >
> > > > How can we change the browser that FB uses for debugging?
> > > >
> > > > Thanks,
> > > >
> > > > Jurgen
> > > >
> > > > Jurgen Beck wrote:
> > > >
> > > >> Even though there is a FB Preferences setting for using a browser
> > when
> > > >> Web pages are opened, this seems to mostly be targeting the
> > display of
> > > >> help documentation.
> > > >>
> > > >> If we need to change the specific browser we want to open when FB
> > starts
> > > >> a debugging process, it seems that the only way of doing this
is by
> > > >> changing the system's default browser.
> > > >>
> > > >> Now, here is the strange part:
> > > >>
> > > >> When starting a new Flex project, it seems that the default
> > browser at
> > > >> that time gets stored into the project preferences somewhere.
Even if
> > > >> the system default browser is being changed, the Flex project
debug
> > > >> process seems to be starting the browser that was the default
> > browser at
> > > >> the time the project was created and not the current default
browser.
> > > >>
> > > >> So, the question then is, how we can change the browser that
a debug
> > > >> session for a specific project uses? I'd love to be able to set
> > this as
> > > >> a preference, either per project, or for Flex Builder in general.
> > > >>
> > > >> Can anyone shed some light on this issue?
> > > >>
> > > >> Thanks,
> > > >>
> > > >> Jurgen
> > > >>
> > > >
> > > >
> > > >
> > ----------------------------------------------------------
> > > > Choose the right car based on your needs. Check out Yahoo!
Autos new
> > > > Car Finder tool.
> > > >
> >
<http://us.rd.yahoo.com/evt=48518/*http://autos.yahoo.com/carfinder/;_ylc=X3oDMTE3NWsyMDd2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDY2FyLWZpbmRlcg--%20 <http://us.rd.yahoo.com/evt=48518/*http://autos.yahoo.com/carfinder/;_ylc=X3oDMTE3NWsyMDd2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDY2FyLWZpbmRlcg--%20>

> >
<http://us.rd.yahoo.com/evt=48518/*http://autos.yahoo.com/carfinder/;_ylc=X3oDMTE3NWsyMDd2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDY2FyLWZpbmRlcg--%20 <http://us.rd.yahoo.com/evt=48518/*http://autos.yahoo.com/carfinder/;_ylc=X3oDMTE3NWsyMDd2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDY2FyLWZpbmRlcg--%20>>>
> >
> > > >
> > > >
> > >
> >
> >
>

Reply via email to