[xdebug-general] Re: debug cycle never ends

From: Dave Kelsey <d_kelsey[@]uk.ibm.com>
Date: Tue, 22 Apr 2008 19:28:34 +0100

xdebug-general-bounce[@]lists.xdebug.org wrote on 22/04/2008 18:26:00:

> On Tuesday 22 April 2008, Derick Rethans wrote:
> > On Tue, 22 Apr 2008, Yuval Hager wrote:
> > > > By appending to your URL "?XDEBUG_SESSION_START=start" a cookie
> > > > be set. THis instructs Xdebug to keep creating debug sessions if
> > > > continue to other pages.
> > >
> > > I find it easier to have in my php.ini:
> > > xdebug.remote_autostart="1"
> > >
> > > To the best of my knowledge, it doesn't interfere with normal
> > > unless I have a debug client listening..
> >
> > Correct, however eclipse doesn't really work that way it seems :/
> >
> I'm not really using eclipse, but now I am curious.. why does the
> IDE care how
> the debugger is activated? IMHO, it should listen on the port and react
> whenever it receives something... no?
> --y
> [attachment "signature.asc" deleted by Dave Kelsey/UK/IBM]

In the case of PDT, you launch the application you want to debug. This
appends the XDEBUG_SESSION_START to the url you specify in the launch.
Invoking the url then establishes a debug session with PDT to debug the

The append was done to ensure the scripts were debugged, but I suppose it
could be made optional if you know your php.ini contains the appropriate

Also from a PDT point of view, unless a launch of an application has
actually been done from the ide, any debug sessions that attempt to
establish with PDT will be rejected as a debug launch inside the IDE must
be present. I have an item to add JIT debugging where a debug connection
is requested when PDT was not expecting one and to automatically initiate
a debug launch in the IDE. But I have had no requests for this feature so
it is very low on the list.

Dave Kelsey

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Received on Tue Apr 22 2008 - 20:52:41 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST