[xdebug-general] Fwd: Re: [Bug 446238] Eclipse/Xdebug doesn't show what line it is on

From: Thomas Widlar <twidlar[@]yahoo.com>
Date: Wed, 08 Oct 2014 22:10:35 -0400

Now it doesn't work again, the Debug as Script option is missing again.

1. Evidently there are 2 debugging modes for debugging a PHP script Luna
Eclipse
   Debug as Script
   Debug PHP CLI app.
2. The green progress bar moves line to line for Debug as Script but not
for Debug PHP CLI app.
3. I did Debug by Script several times but I had to create a Debug
Configuration each time.
4. Googling, i was told to set up XDebug with Run Configuration.
5. Debug as Script vanished, Debug PHP CLI app appeared.
*6. How do I unset _Debug as CLI_ and set up a Debug Configuration that
sticks and allows me to _Debug as Script_?*

Thank you.

=====

It now works. It doesn't make any sense. I deleted the one project with
one script in my new install of Luna and created it again. Now I get
the Debug as Script option I'm used to instead of the new Debug as CLI.
The green progress bar now moves from line to line.

Thank you for your time.

On 10/8/2014 1:00 PM, bugzilla-daemon[@]eclipse.org wrote:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=446238
> Product/Component: Platform / Debug
>
> --- Comment #3 from Michael Rennie<Michael_Rennie[@]ca.ibm.com> ---
> (In reply to Thomas Widlar from comment #2)
>
>> Of course Eclipse does not develop or maintain XDebug, XAMPP or PHP. However
>> it is designed to operate and cooperate with those other programs and it has
>> performed that way for years. So your position that Eclipse has nothing to
>> do with those programs is patently false.
> My position is that platform debug is not responsible for code not part of
> platform debug. If you have steps / snippets / examples to show the platform is
> failing, please attach them.
>
>> It is Eclipse job to move the
>> green bar from line to line, isn't it?
>>
> No it is not. Each debugger provides its own models, etc. and Eclipse simply
> responds to those models / requests (in general). So in this case if the PHP
> debugger(?) is not telling Eclipse to move the line, it will not move.
>
> Perhaps you could attach log you mentioned to the XDebug folks?
>
Received on Thu Oct 09 2014 - 03:16:42 BST

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