Eclipse-Debug中Step Into无效?
Eclipse-Debug中Step Into无效?
使用Eclipse的Debug功能时发现,Step Into 并没有进入代码内部,而是直接下一步了(类似Step Over)。
如何解决?
首先:右键,点击Debug configurations…
然后在搜索框右边点击JRE,检查Alternate JRE:是否为安装时的JDK中的JRE,如果不是修改即可。
点击Alternate JRE,点击Install JREs…
remove现有的JRE
add–Standard VM --Next
点击JRE Home后面的Directory…选择安装JDK的路径即可
点击finish---- 勾上你安装的JRE—Apply and close即可