Eclipse“类文件编辑器”调试时找不到源 [英] Eclipse "Class File Editor" Source Not Found While Debugging
问题描述
jdom.jar
我最终敲打了类文件编辑器。我真的不在乎这些图书馆中的什么,我只是用它来处理我自己的代码。 有没有办法绕过这个弹出窗口?
每次我不小心进入一个我知道的类文件没有来源,完全没有意义的课程文件,令人沮丧的敲击步骤。
图片如下:
有各种解决方案:
-
您可以下载源并附加它们(在Package Explorer中选择依赖关系,打开属性对话框,设置Java Source Attachment下的路径)
-
如果您没有源代码,请安装 JADClipse
-
如果您不小心加入了一些代码,请使用Step Return(<返回)( F7 )运行整个方法,并在返回后继续调试。
-
你可以告诉Eclipse你不想进入 step filters 。
使用Step Over( F6 )而不是Step Into( F5 )
I have a project in Java that I am stepping through and when I'm using external libraries e.g. jdom.jar
I end up hammering step over to get out on the "Class File Editor". I really don't care about whats in these libraries I'm just using them to process things for my own code.
Is there anyway to get around this popping up?
It's so frustrating hammering step over every time I accidentally step into a class file which I know has no source and is completely pointless me looking through.
image below:
There are various solutions:
You can download the sources and attach them (select the dependency in the Package Explorer, open the Properties dialog for it, set the path under "Java Source Attachment")
If you don't have the source, install JADClipse
Use "Step Over" (F6) instead of "Step Into" (F5)
If you accidentally stepped into some code, use "Step Return" (F7) to run the whole method and resume debugging after it has returned.
You can tell Eclipse what you don't want to step into using "step filters".
这篇关于Eclipse“类文件编辑器”调试时找不到源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!