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.
事实证明这是Eclipse 在此处报告的错误。
You seem to be working with an unsaved file (a star next to the file name). Try saving the file + rebuilding your project, then relaunch.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.