Source not found with debugging code in java [duplicate]

拈花ヽ惹草 提交于 2019-12-11 06:51:42

问题


I'm new in java ...I have this when used break point in the code

source not found .....> Edit source look up path

then i added src.zip of Jdk1.6.0_38 for rt.jar by windows>preferences>installedJRE>source attahchment of rt.jar

and got this after i returned to breakpoint

I'm on ubuntu 12.04 and eclipse Kepler

what can i do to solve this ?


回答1:


add the source (jar file which contains your class) in the debug configuration

Debug as> Debug Configurations> Source > Add



来源:https://stackoverflow.com/questions/27718194/source-not-found-with-debugging-code-in-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!