I had the same problem after switching a workspace.

Just restarting Eclipse solved it.

(Eclipse Mars v4.5.0)

Answer from chmin.seo on Stack Overflow
🌐
Eclipse
bugs.eclipse.org › bugs › show_bug.cgi
438779 – Debugger does not highlight current line in source
Bugzilla – Bug 438779 Debugger does not highlight current line in source Last modified: 2024-10-02 16:06:57 EDT
🌐
Eclipse
bugs.eclipse.org › bugs › show_bug.cgi
70468 – Current line not shown when stepping in debug perspective
Bugzilla – Bug 70468 Current line not shown when stepping in debug perspective Last modified: 2004-08-16 12:56:46 EDT
🌐
Eclipse
bugs.eclipse.org › bugs › show_bug.cgi
31640 – The debugger will sometimes not highlight current line in M5
February 12, 2003 - Bugzilla – Bug 31640 The debugger will sometimes not highlight current line in M5 Last modified: 2003-02-12 15:08:43 EST
🌐
Eclipse
bugs.eclipse.org › bugs › show_bug.cgi
447411 – debug highlighting of current line does not follow debugged line
Bugzilla – Bug 447411 debug highlighting of current line does not follow debugged line Last modified: 2020-05-19 13:44:13 EDT ... This site is maintained for archival purposes only. Eclipse projects have transitioned to GitHub and Eclipse GitLab.
🌐
Stack Overflow
stackoverflow.com › questions › 39590984 › debug-in-eclipse-not-highlighting-current-line-of-code
java - Debug in eclipse not highlighting current line of code - Stack Overflow
It Looks like your source code do not fit to the cass fles. try to clean and rerun your project ... Find out where Eclipse thinks you are. You might be running a class in a jar file deep on your build path instead of what you think you are. Thorbjørn Ravn Andersen – Thorbjørn Ravn Andersen · 2016-09-20 11:21:15 +00:00 Commented Sep 20, 2016 at 11:21 · Debugging C code/C++/Java code?Share screenshot here imgur.com
🌐
GitHub
github.com › eclipse-che › che › issues › 5236
Sometimes Java debugger doesn't highlight current position in decompiled class · Issue #5236 · eclipse-che/che
May 30, 2017 - Open MemberController, and set breakpoints on line: ... Connect debugger. Open the application and register a user. When the debugger stops on the first breakpoint use step into. Expected behavior: Current debugger position should be highlighted.
Published   May 30, 2017
Author   mmorhun
🌐
Coderanch
coderanch.com › t › 624835 › ide › Debug-eclipse-highlighting-eclipse
Debug in eclipse is not highlighting in the eclipse. (IDEs and Version Control forum at Coderanch)
Debugging is not highlighted in the eclipse. Kindly find the attached screenshot for your reference.And also let me know how to solve this problem.
Find elsewhere
🌐
GitHub
github.com › microsoft › vscode-java-debug › issues › 656
Debugger not highlighting source lines · Issue #656 · microsoft/vscode-java-debug
September 11, 2019 - I've a custom build of https://github.com/eclipse/eclipse.jdt.ls (for prototyping reasons). I'm trying to setup this debugger to work with it, so cloned this extension and made the following changes: · I'm suspecting this has something to do with how the debug configuration is provided, or ...
Author   OmarTawfik
🌐
CodingTechRoom
codingtechroom.com › question › highlight-current-line-execution-eclipse-debug-perspective
How to Highlight the Current Line of Execution in Eclipse's Debug Perspective - CodingTechRoom
Check the option for 'Highlight current line' and ensure it's enabled. Additionally, make sure that your color preferences are set to a visible value. For better visibility of the highlight, adjust 'Text Font' and 'Background Color' settings under 'General' > 'Appearance' > 'Colors and Fonts'.
🌐
Code Yarns
codeyarns.com › tech › 2014-10-30-how-to-highlight-current-line-in-eclipse.html
Code Yarns – How to highlight current line in Eclipse
This feature is in Eclipse and can be turned on easily: Go to Window -> Preferences -> General -> Editors -> Text Editors. Enable the option named Highlight current line. If you still do not see current line highlighted, then the highlight color might be set to white or the same as background ...
🌐
Eclipse
help.eclipse.org › latest › topic › org.eclipse.eclemma.doc › pages › faq.html
FAQ
If the library was compiled with debug information, line coverage will be shown in the Coverage view. In case the source is properly attached to the library syntax highlighting will happen in the editors the same way as with you source code. EclEmma annotates all lines which are partly covered in yellow. Partly covered means that not all instructions and branches associated with this line have been executed during the coverage session.
🌐
Eclipse
genuitec.com › home › topics › myeclipse ide › general development › debug perspective does not highlight the line of java code
debug perspective does not highlight the line of java code - Genuitec
January 26, 2007 - I have no problem in setting breakpoints in java code, and the Eclipse automatically switchs to Debug perspective when the application reachs the breakpoint. The Thread view and the variables view all looks fine. But the source code view does not highlight the source code at the line of the breakpoint, it simply display the same source file under the previous J2EE perspective before debugging.
🌐
Eclipse
bugs.eclipse.org › bugs › show_bug.cgi
97095 – Debugger doesn't highlight source when stepping
May 27, 2005 - Bugzilla – Bug 97095 Debugger doesn't highlight source when stepping Last modified: 2005-07-29 17:39:05 EDT
🌐
Eclipse
bugs.eclipse.org › bugs › show_bug.cgi
11384 – Debugger's highlighted line disappears:1GTD8GS
Bugzilla – Bug 11384 Debugger's highlighted line disappears:1GTD8GS Last modified: 2002-04-02 22:01:13 EST