Xdebug: tens of sessions simultaneously [message #498316] |
Mon, 16 November 2009 08:12  |
Eclipse User |
|
|
|
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 08: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.25170 seconds