|
Re: Xdebug: tens of sessions simultaneously [message #498513 is a reply to message #498316] |
Tue, 17 November 2009 10:25 |
Eclipse User |
|
|
|
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 #498543 is a reply to message #498316] |
Tue, 17 November 2009 12:27 |
Eclipse User |
|
|
|
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 #498559 is a reply to message #498546] |
Tue, 17 November 2009 13:51 |
Eclipse User |
|
|
|
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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03722 seconds