When debugging a Java application in Eclipse JDT, values of some variables are displayed in the Variables view but not in tooltips when hovering over the variables in the editor.
The following screenshot illustrates the problem:
As you can see a tooltip with a variable value is shown for this
. However no tooltip (or the one containing only declaration in case of Combined Hover) is shown for key
while the Variables view shows values for both this
and key
.
I've tried Combined Hover and Variable Values in Java/Editors/Hovers as suggested here with a similar effect. The only difference is that Combined Hover shows declaration in a tooltip when Variable Values doesn't show a tooltip at all.
This turned out to be a bug in Eclipse reported here.