When debugging in Eclipse, the mouse moves to the variable does not display the value, this originally oneself also encountered, did not notice, anyway uses ctrl+shift+i well, also can, just looked up, solves the method as follows:
Window->preferences->java->editor->hovers [Variable Values] will be selected, if the first [Combined Hover] has been checked, then remove this tick, tick [Variable Values]. If not, you can only use Ctrl+shift+i shortcut keys.
Today, the students encountered a problem when using eclipse, to help them solve the following, organized as follows:
Problem Description: Eclipse in debug mode does not automatically display the value of a variable when the mouse moves over it
Solution: Click Eclipse's window->preferences->java->editor->hovers, tick variable Values, (if combined hover has selected, Cancel it), then click Apply, last click OK (e.g.).
Eclipse Debug Mouse to display variable values