我得到“源未找到”在Eclipse中调试我的Java代码时 [英] I get "Source not found" when debugging my Java code in Eclipse

查看:96
本文介绍了我得到“源未找到”在Eclipse中调试我的Java代码时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在Eclipse中调试我的Java应用程序,但是当我点击一个断点时,我只是看到以下代码,而不是我的来源:





如果我在调试窗口中更改堆栈框架那么我可以在标签中看到函数名称的改变 - 这绝对是我的代码,行号是正确的,我正在使用最新的构建,但是我仍然不能让Eclipse显示源代码(尽管它在另一个中打开了标签!)



我是Eclipse的新手,所以我正在努力找到我的方式,但是我所绊倒的所有东西似乎都对我好



可能会导致这种情况发生,如何解决?

解决方案

如果您编辑的调试配置设置不正确,则会显示源查找路径部分?


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:

If I change the stack frame in the Debug window then I can see the function name change in the tab - this is definitely my code, the line number is correct and I'm using the latest build but I still can't get Eclipse to show the source (despite it being open in another tab!)

I'm new to Eclipse and so I'm struggling to find my way around, but everything that I've stumbled across so far seems fine to me.

What might cause this to happen and how can I fix it?

解决方案

Sounds like the 'source lookup path' section if you edit the debug configuration isn't setup correctly?

这篇关于我得到“源未找到”在Eclipse中调试我的Java代码时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆