Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » XDebug Glitch After 4.4.1 Update(Step Over doesn't advance the highlighted line)
XDebug Glitch After 4.4.1 Update [message #1436444] Thu, 02 October 2014 23:08 Go to next message
Mark Dexter is currently offline Mark DexterFriend
Messages: 324
Registered: July 2009
Senior Member
I've been using Eclipse PDT 4.4.0 with XDEBUG happily for several months. I just upgraded to 4.4.1 and now the step over in the debugger doesn't display correctly. The line number in the Debug view advances correctly, but the highlighted line in the edit area does not advance, so you can't easily see the line where you are paused.

See attached screenshot.
index.php/fa/19371/0/
Re: XDebug Glitch After 4.4.1 Update [message #1436730 is a reply to message #1436444] Fri, 03 October 2014 10:17 Go to previous messageGo to next message
Dawid Pakula is currently offline Dawid PakulaFriend
Messages: 207
Registered: March 2013
Senior Member
Have you additional PDT plugins? Especially MakeGood?

Re: XDebug Glitch After 4.4.1 Update [message #1436887 is a reply to message #1436730] Fri, 03 October 2014 15:08 Go to previous messageGo to next message
Mark Dexter is currently offline Mark DexterFriend
Messages: 324
Registered: July 2009
Senior Member
No. As far as I can see, I only have Eclipse plugins. My Installed Software says Eclipse IDE for PHP Developers. The Features and Plug-ins provider is all Eclipse*. I don't see anything that says MakeGood.

I rolled my installation back to 4.0.0 and it now works correctly.

This may or may not be related. I use the PHP debugger a lot and in 4.0.0 noticed a very minor annoyance. When you have been debugging, sometimes when you initially hit a breakpoint, the highlighted line of code in the edit window incorrectly shows your last breakpoint instead of the current breakpoint. However, this is corrected as soon as you click the step-over button. However, in 4.0.1, the problem is major because the highlighted line doesn't advance at all and always shows the breakpoint line.
Re: XDebug Glitch After 4.4.1 Update [message #1437935 is a reply to message #1436444] Sun, 05 October 2014 07:22 Go to previous messageGo to next message
Nigel Packer is currently offline Nigel PackerFriend
Messages: 1
Registered: October 2014
Junior Member
This is also happening for me. I'm on a fresh install of the Eclipse for PHP developers 4.4.1.

Starting a debug session works, but the highlighted line does not advance, as noted in the op. I'm able to advance the line manually by clicking on the 'Lookup Source' option in the debug view context menu.

Netbeans and Eclipse 4.4.0 seem to work so the issue would appear to be caused by something introduced in the latest update.
Re: XDebug Glitch After 4.4.1 Update [message #1438592 is a reply to message #1437935] Mon, 06 October 2014 08:37 Go to previous messageGo to next message
Marjo van Diem is currently offline Marjo van DiemFriend
Messages: 2
Registered: October 2014
Junior Member
Same happens here. Currently running Eclipse 4.5M2. Happened in 4.4.1 as well for me. Using PDT 3.3.1.201410021314, no additional PHP plugins.
Re: XDebug Glitch After 4.4.1 Update [message #1438617 is a reply to message #1437935] Mon, 06 October 2014 09:27 Go to previous messageGo to next message
Massimiliano Mancini is currently offline Massimiliano ManciniFriend
Messages: 3
Registered: October 2014
Junior Member
The problem was inserted in bug list
445903
445652 445680

As workaround I also revert to previus version of Eclipse.
Re: XDebug Glitch After 4.4.1 Update [message #1439413 is a reply to message #1438617] Tue, 07 October 2014 06:18 Go to previous messageGo to next message
Marjo van Diem is currently offline Marjo van DiemFriend
Messages: 2
Registered: October 2014
Junior Member
Problem solved after updating to PDT 3.3.1.201410062222 on Eclipse 4.5M2 (I20140918-0330)
Thanks to all involved for fixing this!
Re: XDebug Glitch After 4.4.1 Update [message #1439903 is a reply to message #1439413] Tue, 07 October 2014 17:04 Go to previous messageGo to next message
Mark Dexter is currently offline Mark DexterFriend
Messages: 324
Registered: July 2009
Senior Member
Can someone please point me to some documentation for how to update my Eclipse installation with the file referenced above? Thanks!
Re: XDebug Glitch After 4.4.1 Update [message #1439908 is a reply to message #1439903] Tue, 07 October 2014 17:11 Go to previous messageGo to next message
Dawid Pakula is currently offline Dawid PakulaFriend
Messages: 207
Registered: March 2013
Senior Member
Add this update site into your eclipse configuration: http://download.eclipse.org/tools/pdt/updates/3.3-nightly/ (Preferences->Install/Update->Available Software Sites)

Run update (help -> check for updates)


Re: XDebug Glitch After 4.4.1 Update [message #1444697 is a reply to message #1439908] Tue, 14 October 2014 12:27 Go to previous messageGo to next message
An Weh is currently offline An WehFriend
Messages: 2
Registered: October 2014
Junior Member
I'm happy that I found this thread, as I had the same problem (instruction pointer did not move on debugging).

I tried to follow the solution here, but I'm stuck.

First I installed the current Version: "Mars Milestone 2 (4.5.0M2) Build id: 20141002-0151" (in a new directory).

Then I added the link to the nightly build as Dawid Pakula wrote.

Lastly I startet "Check for updates" - but it reports "No updates were found".

The bug persists.

How can I install "PDT 3.3.1.201410062222 on Eclipse 4.5M2 (I20140918-0330)" ??

Question

BTW: Before I found this thread with the (hoped for) solution, I googled a few hours and thought, that I was the only one with the problem. There was only one similar bug, but in 2004, which was fixed later.

I'm a newbie to Eclipse and after some fiddeling with xdebug I finally got it working, but thought, that the bug was some misconfiguration on my side.


So, for anybody googling, I add my searchterms here, that (s)he can find it faster:

debug instruction pointer not moving
debug instruction pointer not visible
debug instruction pointer error
debug line not shown


Thanks for your help !

Re: XDebug Glitch After 4.4.1 Update [message #1444799 is a reply to message #1444697] Tue, 14 October 2014 15:10 Go to previous messageGo to next message
Dawid Pakula is currently offline Dawid PakulaFriend
Messages: 207
Registered: March 2013
Senior Member
You can try manually. If you addedd p2 nightly update site into your eclipse configuration:
help -> install new software:
https://www.eclipse.org/pdt/img/update_dialog.png
select nightly update site
install first feature on the list.


Re: XDebug Glitch After 4.4.1 Update [message #1445321 is a reply to message #1444799] Wed, 15 October 2014 09:25 Go to previous messageGo to next message
An Weh is currently offline An WehFriend
Messages: 2
Registered: October 2014
Junior Member
Thank you Dawid Pakula !

Now the bug is gone.
Re: XDebug Glitch After 4.4.1 Update [message #1457385 is a reply to message #1445321] Fri, 31 October 2014 09:13 Go to previous messageGo to next message
Dawid Pakula is currently offline Dawid PakulaFriend
Messages: 207
Registered: March 2013
Senior Member
Update:

We released today stable version with debug bug fix: http://download.eclipse.org/tools/pdt/updates/3.3.2/
Also available on marketplace.


Re: XDebug Glitch After 4.4.1 Update [message #1478476 is a reply to message #1457385] Tue, 18 November 2014 18:16 Go to previous messageGo to next message
Scott Chapman is currently offline Scott ChapmanFriend
Messages: 2
Registered: June 2012
Junior Member
So, I'm running Luna (latest PDT for that as well) and MakeGood. and what I am noticing is that it always puts the pointer at the first line of the script not the actual location.

Is this known? Any work-arounds/fixes?

Thanks in advance!
icon14.gif  Re: XDebug Glitch After 4.4.1 Update [message #1482144 is a reply to message #1444799] Fri, 21 November 2014 14:26 Go to previous messageGo to next message
Fabio Mascelloni is currently offline Fabio MascelloniFriend
Messages: 1
Registered: November 2014
Junior Member
Dawid Pakula wrote on Tue, 14 October 2014 15:10
You can try manually. If you addedd p2 nightly update site into your eclipse configuration:
help -> install new software:
select nightly update site
install first feature on the list.

Thank you soo much! i was stuck in this issue for days. Now it works like a charm! Smile
Re: XDebug Glitch After 4.4.1 Update [message #1485464 is a reply to message #1436444] Mon, 24 November 2014 09:01 Go to previous messageGo to next message
Olivier Mising name is currently offline Olivier Mising nameFriend
Messages: 3
Registered: July 2011
Junior Member
Thank you guys for the great investigation.

Updating Eclipse with the nightly build also fixed the (very annoying) issue for me.

Olivier
icon10.gif  Re: XDebug Glitch After 4.4.1 Update [message #1581252 is a reply to message #1436444] Sat, 24 January 2015 00:22 Go to previous messageGo to next message
Tuan Vu is currently offline Tuan VuFriend
Messages: 1
Registered: January 2015
Junior Member
Thanks for update PDT. I also get this issue, and it is resolved now. Very Happy
Re: XDebug Glitch After 4.4.1 Update [message #1584825 is a reply to message #1436444] Mon, 26 January 2015 01:00 Go to previous messageGo to next message
George Gerp is currently offline George GerpFriend
Messages: 1
Registered: January 2015
Junior Member
Tried to update from the nightly update site specified in this thread, and Eclipse says could not find repository? Any other thoughts?
Re: XDebug Glitch After 4.4.1 Update [message #1584983 is a reply to message #1584825] Mon, 26 January 2015 03:13 Go to previous messageGo to next message
Dawid Pakula is currently offline Dawid PakulaFriend
Messages: 207
Registered: March 2013
Senior Member
Stable release with debug fix:
3.3.2 - http://download.eclipse.org/tools/pdt/updates/3.3.2
latest - http://download.eclipse.org/tools/pdt/updates/latest

Current nightly:
3.4.0 - http://download.eclipse.org/tools/pdt/updates/3.4-nighty
latest-nightly - http://download.eclipse.org/tools/pdt/updates/latest-nightly

See also: https://www.eclipse.org/pdt/#download


Re: XDebug Glitch After 4.4.1 Update [message #1586072 is a reply to message #1584983] Mon, 26 January 2015 16:55 Go to previous messageGo to next message
Francis Pierot is currently offline Francis PierotFriend
Messages: 1
Registered: January 2015
Junior Member
Many many many thanks to everybody on this topic who saved me a few hours [of anger and despair]!

FP
Re: XDebug Glitch After 4.4.1 Update [message #1623009 is a reply to message #1436444] Wed, 18 February 2015 22:08 Go to previous messageGo to next message
Dr. Gianluigi Zanettini is currently offline Dr. Gianluigi ZanettiniFriend
Messages: 1
Registered: February 2015
Junior Member
I found this topic googling for the same issue. Adding download.eclipse.org/tools/pdt/updates/latest + Install new software nailed it for me. Thanks!
Re: XDebug Glitch After 4.4.1 Update [message #1629596 is a reply to message #1436444] Sun, 22 February 2015 20:04 Go to previous message
Martin Molema is currently offline Martin MolemaFriend
Messages: 1
Registered: February 2015
Junior Member
Fixed it for me on Eclipse 4.4.1 on Ubuntu 14.04
Previous Topic:PDT 2.0.0GA unusably slow
Next Topic:Blade Support
Goto Forum:
  


Current Time: Fri Dec 15 16:06:18 GMT 2017

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

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