Eclipse-Debug中Step Into无效?

Eclipse-Debug中Step Into无效?

使用Eclipse的Debug功能时发现,Step Into 并没有进入代码内部,而是直接下一步了(类似Step Over)。
如何解决?
首先:右键,点击Debug configurations…
Eclipse-Debug中Step Into无效?

然后在搜索框右边点击JRE,检查Alternate JRE:是否为安装时的JDK中的JRE,如果不是修改即可。
Eclipse-Debug中Step Into无效?

点击Alternate JRE,点击Install JREs…
Eclipse-Debug中Step Into无效?
remove现有的JRE
Eclipse-Debug中Step Into无效?
add–Standard VM --Next
Eclipse-Debug中Step Into无效?
点击JRE Home后面的Directory…选择安装JDK的路径即可
Eclipse-Debug中Step Into无效?
Eclipse-Debug中Step Into无效?
点击finish---- 勾上你安装的JRE—Apply and close即可
Eclipse-Debug中Step Into无效?