Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Eclipse debug using firefox with profile(Eclipse debug using firefox with profile)
Eclipse debug using firefox with profile [message #1221979] Thu, 19 December 2013 01:29 Go to next message
Max Wong is currently offline Max Wong
Messages: 3
Registered: December 2013
Junior Member
Eclipse debug using firefox with profile

| When I set the browser to be firefox with profile,
| eclipse always try to call up a new instance of firefox.
| So, it always cause "Firefox is already running" problem.
|
| However, it I use the default firefox profile, juz call up a new tab so
| it wont prompt up for already running problem

Platform
------------------------------
* Win 7
* Using Eclipse Kelper
* Firefox 25.0.1

Procedure
------------------------------
- I start to debug with xdebug
- It open the firefox to show me the page
- I stop the debugger
- It tries to open firefox again to show me the stopping page
(Using default firefox will call up for new tab
in existing firefox rather than a new firefox)


Screen Captures and detailed description is here.
www.evernote.com/pub/maxwkf/pblfproblemfaced#b=d7ed6dc3-7c48-423b-9ee2-4d570df80863&st=p&n=194f3777-81a1-4aa2-9d66-35d9afa41245
Re: Eclipse debug using firefox with profile [message #1222249 is a reply to message #1221979] Thu, 19 December 2013 20:23 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro Izumi
Messages: 338
Registered: July 2009
Location: Japan
Senior Member
You added "-no-remote" option in your web browser settings.(Preferences>General>Web Browser)

See Command Line Options - Mozilla | MDN
From "User Profile" section,
>-no-remote
>
>Allows multiple copies of application to be open at a time.
>
>firefox -no-remote -P "Another Profile"
>
>Note: Since Firefox 9, this does really mean what its name implies on all platforms, i.e. instances created with this parameter do not accept or send remote commands, see bug 650078. That means that such instances won't be re-used. Also when using this argument a new instance is created in any case.
Pay attention to the Note.

From "Remote Control" section,
>-remote remote_command
>
>Execute remote_command in an already running application process (see remote control).
>
>firefox -remote "openURL(www.mozilla.org, new-tab)"
Eclipse uses this "remote" option.
@org.eclipse.ui.internal.browser.browsers.MozillaBrowser.BrowserThread.run()
>if (openBrowser(executable, parameters + " -remote openURL(" + url + ")") //$NON-NLS-1$ //$NON-NLS-2$
> == 0)
> return;
Re: Eclipse debug using firefox with profile [message #1222266 is a reply to message #1222249] Thu, 19 December 2013 21:35 Go to previous message
Max Wong is currently offline Max Wong
Messages: 3
Registered: December 2013
Junior Member
Thanks Toshihiro Izumi.
My problem got solved with your solution~
Previous Topic:pdt color scheme for php code
Next Topic:Browser update in real-time
Goto Forum:
  


Current Time: Wed Apr 16 09:45:59 EDT 2014

Powered by FUDForum. Page generated in 0.17515 seconds