简体   繁体   English

在Eclipse 3.x中进行调试时,Java API类不显示变量值

[英]Java APIs Classes does not show variables value while debugging in Eclipse 3.x

I am working on Eclipse more than 2 years, but suddenly a point has come to mind that: 我在Eclipse上工作超过2年,但突然有一点让人想到:

Why Java APIs Classes does not show variables value while debugging in Eclipse 3.x?? 为什么Java API类在Eclipse 3.x中调试时不显示变量值?

When debug control is on my classes, its properly show all variables value but when control goes to Java API Classes, it doesn't show any value. 当调试控件在我的类上时,它会正确显示所有变量值,但是当控件转到Java API类时,它不会显示任何值。

When I use the shortcut to display the variable value..a error dialog displays with message "Variable cannot be resolved". 当我使用快捷方式显示变量值时,会显示错误对话框,并显示消息“无法解析变量”。

What is this indication? 这个迹象是什么? Why not Java show all variables value at any depth of debugging? 为什么Java在任何调试深度都不显示所有变量值?

Thanks in Advance. 提前致谢。

It's because the Java API classes are not compiled with debug symbols. 这是因为Java API类没有使用调试符号进行编译。 Nothing you can really do about that. 你真的无法做到这一点。

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

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