Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Xdebug: tens of sessions simultaneously(Problems with debugging)
Xdebug: tens of sessions simultaneously [message #498316] Mon, 16 November 2009 13:12 Go to next message
Artiom Neganov is currently offline Artiom NeganovFriend
Messages: 24
Registered: October 2009
Junior Member
Hi all,

I have problem with debugging a website in Eclipse: instead of one session I got many of them.

The reason is that I have some images which are generated on the PHP side. And while I set breakpoint on some file and debug up to it, I have as many additional sessions in Debug window as images are requested to generate.

All requests are dispatched via same index.php, so I can't for example set not to debug it.

Have you any ideas how to restrict debugging to a file which I need?

Re: Xdebug: tens of sessions simultaneously [message #498513 is a reply to message #498316] Tue, 17 November 2009 10:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dkel50.hotremovemail.com

Do you have multisession support enabled in the xdebug configuration in
PDT ? if you do try turning it off.

(see http://www.eclipse.org/pdt/documents/XDebugGuideForPDT2.0.pd f for
info on how to configure this)

Dave Kelsey



On 16/11/09 13:12, Artiom Neganov wrote:
> Hi all,
>
> I have problem with debugging a website in Eclipse: instead of one
> session I got many of them.
>
> The reason is that I have some images which are generated on the PHP
> side. And while I set breakpoint on some file and debug up to it, I have
> as many additional sessions in Debug window as images are requested to
> generate.
>
> All requests are dispatched via same index.php, so I can't for example
> set not to debug it.
>
> Have you any ideas how to restrict debugging to a file which I need?
>
>
Re: Xdebug: tens of sessions simultaneously [message #498514 is a reply to message #498513] Tue, 17 November 2009 10:31 Go to previous messageGo to next message
Artiom Neganov is currently offline Artiom NeganovFriend
Messages: 24
Registered: October 2009
Junior Member
Thanks for reply.

No, it is disabled.
Re: Xdebug: tens of sessions simultaneously [message #498543 is a reply to message #498316] Tue, 17 November 2009 12:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dkel50.hotremovemail.com

Maybe you are using "break on first line" option ? Try disabling that
and only adding breakpoints to the specific file you want to debug

Dave Kelsey


On 16/11/09 13:12, Artiom Neganov wrote:
> Hi all,
>
> I have problem with debugging a website in Eclipse: instead of one
> session I got many of them.
>
> The reason is that I have some images which are generated on the PHP
> side. And while I set breakpoint on some file and debug up to it, I have
> as many additional sessions in Debug window as images are requested to
> generate.
>
> All requests are dispatched via same index.php, so I can't for example
> set not to debug it.
>
> Have you any ideas how to restrict debugging to a file which I need?
>
>
Re: Xdebug: tens of sessions simultaneously [message #498546 is a reply to message #498543] Tue, 17 November 2009 12:36 Go to previous messageGo to next message
Artiom Neganov is currently offline Artiom NeganovFriend
Messages: 24
Registered: October 2009
Junior Member
Eclipse User wrote on Tue, 17 November 2009 07:27
Originally posted by: dkel50.hotremovemail.com

Maybe you are using "break on first line" option ? Try disabling that
and only adding breakpoints to the specific file you want to debug

Dave Kelsey


No, I'm not. Breakpoints are triggered when needed, but in Debug window, there are many sessions:
http://www.onlinedisk.ru/view/269894

[Updated on: Tue, 17 November 2009 12:37]

Report message to a moderator

Re: Xdebug: tens of sessions simultaneously [message #498559 is a reply to message #498546] Tue, 17 November 2009 13:51 Go to previous message
Eclipse UserFriend
Originally posted by: dkel50.hotremovemail.com

Ok, I understand the issue now, this is due to using remote session
initiation. Can you turn off remote session initiation and debug using a
PHP Web script launch or is that not possible ?

Alternatively you could set remote session initiation to prompt and
accept the first request and reject the subsequent requests yourself.

It might be worth raising an enhancement bugzilla to record this and see
if a more automated solution can be devised.

Dave Kelsey

On 17/11/09 12:36, Artiom Neganov wrote:
> Eclipse User wrote on Tue, 17 November 2009 07:27
>> Originally posted by: dkel50.hotremovemail.com
>>
>> Maybe you are using "break on first line" option ? Try disabling that
>> and only adding breakpoints to the specific file you want to debug
>>
>> Dave Kelsey
>
>
> No, I don't. Breakpoints are triggered when needed, but when viewing at
> Debug window, there are many sessions:
> http://www.onlinedisk.ru/view/269894
>
>
Previous Topic:Create Patch Menu Item Does Not Appear
Next Topic:Eclipse cannot handle htm files with embedded php
Goto Forum:
  


Current Time: Wed May 05 23:03:14 GMT 2021

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

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

Back to the top