Fix MyEclipse cannot display variable value problems while debugging (Debug)
Suddenly discovered that MyEclipse cannot display variable values when the mouse is placed over a variable while debugging
Ctrl+shift+d actually hint cannot be resolved
The most ways to find the Internet are
Window->preferences->java->editor->hovers [Variable Values] will be selected, assuming [Combined Hover] has been checked, cancel and tick [ Variable Values]
Such a method should not apply to my problem, because now my [Combined Hover] has been checked. But debug can see the value normally.
So the online continue to find ways, the results finally found!
Right-click Project->properties->java compiler-> Select the Add variable attributes to generated class (used by the debugger) option to To
This involves the Java code compilation problem, the simple point is that you want to debug the class file does not include the localvariabletable attribute table, the purpose of this check the Java source code compiler when compiling Java source code Add local variable information to the class file, i.e. the volume of the class file becomes larger
Fix MyEclipse cannot display variable value problems while debugging (Debug)