debugging not able to inspect the variables

若如初见. 提交于 2019-12-31 01:54:09

问题


while debugging in eclipse
the problem is: String.hashCode() line: 1489 [local variables unavailable]
thus, not able to inspect the values of variables

please help me on this by providing some pointers

Hi Tomasz Nurkiewicz Thanks for the efforts, i took a new jdk (haing all the class details) after catching on these How to debug .class files in ECLIPSE? and http://jdk6.java.net/download.html but then also facing same issue................


回答1:


JDK classes aren't compiled with debugging information, hence you can't see local variables during debugging. You'll have to rebuild JDK or use development version, see: Step through JDK source code in IntelliJ IDEA and Enabling debugging inside JRE classes.



来源:https://stackoverflow.com/questions/10266560/debugging-not-able-to-inspect-the-variables

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