Bug 438779 - Debugger does not highlight current line in source
Summary: Debugger does not highlight current line in source
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.4   Edit
Hardware: PC Mac OS X
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-02 17:36 EDT by Greg Watson CLA
Modified: 2022-10-12 02:09 EDT (History)
5 users (show)

See Also:


Attachments
debugger behavior (292.10 KB, image/png)
2014-07-02 17:36 EDT, Greg Watson CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Watson CLA 2014-07-02 17:36:36 EDT
Created attachment 244753 [details]
debugger behavior

I'm debugging an Eclipse RCP application. I'm using OS X 10.9.4 with Java 8 installed.

Since upgrading to 4.4 I've noticed that the debugger intermittently fails to display the current source location. Selection any line of the stack frame does not switch to the editor window for that class.  Other views, such as the variables view seem to still work ok. Selecting "Lookup source" from the context menu does display the line marker, however as soon as I step then marker disappears again.

The attached screenshot shows the selected stackframe, but no current line marker is displayed in the editor.
Comment 1 Renan T. Inacio CLA 2015-04-28 16:32:18 EDT
I have the exact same behavior on Kubuntu 15.04, Eclipse 4.4.2 and Java 8 while debugging a Java EE application on Tomcat.
Comment 2 Flavio Donze CLA 2015-06-04 10:09:17 EDT
I'm having the same problem:

Eclipse 4.4.2.M20150204-1700
jdk1.8.0_45 64-Bit
Windows 7

Are you also running a 64-Bit Java/Eclipse?

Not sure but I think this started after I switched to 64-Bit.
Comment 3 Bartosz Popiela CLA 2015-06-07 14:45:17 EDT
I have the same problem on Eclipse Mars - Integration Build (JDK 8u25 64 bit, Windows 7).
Comment 4 Renan T. Inacio CLA 2015-06-07 17:05:36 EDT
Adding to comment #1, I also use a 64 bit JDK. However, this problem stopped hapenning after a reboot on the same day.
Comment 5 Bartosz Popiela CLA 2015-06-07 17:23:04 EDT
After removing org.eclipse.jdt.* and org.eclipse.debug.* plugin's workspace cache it's working.
Comment 6 Bartosz Popiela CLA 2015-06-07 18:00:25 EDT
Probably [Bug 454028|https://bugs.eclipse.org/bugs/show_bug.cgi?id=454028] is related to this. Maybe I had some invalid cache data from before the patch for 454028 and that's why after removing this cache it's working properly.
Comment 7 Eclipse Genie CLA 2020-07-18 08:52:13 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 8 Eclipse Genie CLA 2022-08-27 12:09:29 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 9 Todor Valchanov CLA 2022-10-12 02:09:55 EDT
The bug is still relavant - I am experiencing it with :
Version: 2022-09 (4.25.0)
Build id: 20220908-1902
On Windows 7.
I have the latest updates applied.