Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Posted a couple of debug bugs/enancements
Posted a couple of debug bugs/enancements [message #46328] Fri, 24 August 2007 23:20 Go to next message
Fabio Z is currently offline Fabio ZFriend
Messages: 46
Registered: July 2009
Member
Enancement
https://bugs.eclipse.org/bugs/show_bug.cgi?id=201153

Bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=201155

I still asking if the fact that when I save a file sometime the breakpoints
are removed is a bug.

Someone can tell me why when I terminate a web script debug a new localhost
page are launced in the browser?
Re: Posted a couple of debug bugs/enancements [message #46856 is a reply to message #46328] Tue, 28 August 2007 10:21 Go to previous messageGo to next message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
I am assuming you are using xdebug as you don't state in your append which
debugger you are using.

With XDebug your browser holds a cookie while it is debugging web scripts. When
you terminate the debug session, the debug cookie should be removed from the browser
to do this the xdebug client relaunches the original script whith the XDEBUG_SESSION_STOP
to remove the cookie. The eclipse API doesn't (or at least didn't, have not tried 3.3 yet)
to be able to reuse the original tab in firefox for example to open this page but opens
a new tab. You don't get this behaviour if you used the internal web browser. For me though
under 3.3 this option is greyed out.

Dave Kelsey


Fabio wrote:
> Enancement
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=201153
>
> Bug
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=201155
>
> I still asking if the fact that when I save a file sometime the breakpoints
> are removed is a bug.
>
> Someone can tell me why when I terminate a web script debug a new localhost
> page are launced in the browser?
>
>
Re: Posted a couple of debug bugs/enancements [message #47341 is a reply to message #46856] Tue, 28 August 2007 14:49 Go to previous messageGo to next message
Fabio Z is currently offline Fabio ZFriend
Messages: 46
Registered: July 2009
Member
"Dave Kelsey" <dkel50@hotmail.com> ha scritto nel messaggio
news:fb0sun$gs9$1@build.eclipse.org...


> With XDebug your browser holds a cookie while it is debugging web scripts.
> When
> you terminate the debug session, the debug cookie should be removed from
> the browser
> to do this the xdebug client relaunches the original script whith the
> XDEBUG_SESSION_STOP
> to remove the cookie. The eclipse API doesn't (or at least didn't, have
> not tried 3.3 yet)
> to be able to reuse the original tab in firefox for example to open this
> page but opens
> a new tab. You don't get this behaviour if you used the internal web
> browser. For me though
> under 3.3 this option is greyed out.

Yes, I use Firefox with multiple tabs.
The really bad behavior is that it opens a new tab.
But I cannot avoid this with some settings?

Thanks again

Today Firefox give 2 bugs that I thinked was of PDT... :)
Re: Posted a couple of debug bugs/enancements [message #47359 is a reply to message #47341] Tue, 28 August 2007 15:07 Go to previous messageGo to next message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
I wasn't possible with Eclipse 3.2. I don't know if it is possible to achieve
this with eclipse 3.3, it would require a code change so you cannot avoid this.

There are 2 alternatives which may help
1. Select eclipse to use the internal browser, and you won't see the problem
2. You can disconnect while in the middle of debugging rather than stopping
to disconnect select either the top entry in the debug view (a server with
the text [PHP Web Page] or the next entry down which says "PHP Application"
and press the disconnect button which is the one to the right of the stop button.
This will stop the debug, but leave your browser in debug mode and leave eclipse
in debugging mode, but won't create a new tab.

Dave Kelsey

Fabio wrote:
> "Dave Kelsey" <dkel50@hotmail.com> ha scritto nel messaggio
> news:fb0sun$gs9$1@build.eclipse.org...
>
>
>> With XDebug your browser holds a cookie while it is debugging web scripts.
>> When
>> you terminate the debug session, the debug cookie should be removed from
>> the browser
>> to do this the xdebug client relaunches the original script whith the
>> XDEBUG_SESSION_STOP
>> to remove the cookie. The eclipse API doesn't (or at least didn't, have
>> not tried 3.3 yet)
>> to be able to reuse the original tab in firefox for example to open this
>> page but opens
>> a new tab. You don't get this behaviour if you used the internal web
>> browser. For me though
>> under 3.3 this option is greyed out.
>
> Yes, I use Firefox with multiple tabs.
> The really bad behavior is that it opens a new tab.
> But I cannot avoid this with some settings?
>
> Thanks again
>
> Today Firefox give 2 bugs that I thinked was of PDT... :)
>
>
Re: Posted a couple of debug bugs/enancements [message #49531 is a reply to message #46328] Thu, 06 September 2007 21:01 Go to previous message
Eclipse UserFriend
Originally posted by: codeslave.ca.ibm.com

If you're on Linux, this is a known bug in the SWT browser.
You can disable this effect by using an external browser (Firefox,
Konqueror, etc.).

https://bugs.eclipse.org/bugs/show_bug.cgi?id=194471

Nick

Fabio wrote:
> Someone can tell me why when I terminate a web script debug a new localhost
> page are launced in the browser?
Previous Topic:Error opening editor
Next Topic:where is PHP perspective?
Goto Forum:
  


Current Time: Wed Sep 25 02:44:39 GMT 2024

Powered by FUDForum. Page generated in 0.03865 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top