简体   繁体   English

我们可以调试rt.jar中存在的类吗?

[英]Can we debug classes present in rt.jar?

I have atteched the source file to project. 我已经对源文件进行了项目化。 I want to debug a method of say ArrayList. 我想调试一个说ArrayList的方法。 I placed a breakpoint also in that method but on debugging it gives error -unable to install breakpoint in eclipse due to missing line number attributes.Its a desktop application. 我还在该方法中放置了一个断点,但在调试时却给出了错误-由于缺少行号属性而无法在eclipse中安装断点,这是一个桌面应用程序。

使用JDK系统库而不是JRE,后者不会与必要的调试信息一起编译。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM