天天看點

Troubleshooting - eclipse在debug視圖中不顯示變量值的解決方案

情況描述:eclipse在debug視圖中當滑鼠指針移動到某個變量上面時不自動顯示該變量的值(如下圖).

Troubleshooting - eclipse在debug視圖中不顯示變量值的解決方案

解決方案:點選eclipse的Window->Preferences->Java->Editor->Hovers, 選取Variable Values, 如果Combined Hover已經選擇了就反選它并且選擇Variable Values, 最後點OK(如下圖)。

Troubleshooting - eclipse在debug視圖中不顯示變量值的解決方案

轉載于:https://www.cnblogs.com/stonefeng/archive/2012/08/28/2660136.html