I get “Source not found” when debugging my Java code in Eclipse

后端 未结 15 1331
庸人自扰
庸人自扰 2020-12-05 02:31

I\'m trying to debug my Java application in Eclipse however when I hit a breakpoint I simply see the following instead of my source:

15条回答
  •  北荒
    北荒 (楼主)
    2020-12-05 03:01

    In Eclipse:Window-->Go to preferences-->Java-->Click on JRE-->Edit--->Restore Default and click on Finish.

    Update your Project before Debugging the code!

    Alas! It worked for me.

提交回复
热议问题