源码没有找到与调试代码在java [英] Source not found with debugging code in java

查看:188
本文介绍了源码没有找到与调试代码在java的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



源未找到 .....> 编辑源查找路径





然后我添加了jdk1.6.0_38的src.zip for rt .jar由windows>首选项> installedJRE>源代码rt.jar



并在我返回到断点



我在ubuntu 12.04和eclipse开普勒



我可以做些什么来解决这个问题?

解决方案

添加(包含您的类的jar文件)调试配置



调试为>调试配置>来源>添加


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 ?

解决方案

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

Debug as> Debug Configurations> Source > Add

这篇关于源码没有找到与调试代码在java的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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