简体   繁体   English

Eclipse在调试模式下是否不显示变量内容?

[英]Eclipse in debug mode do not show variable content?

I am not sure if it is recent issue or it was from the "beginning". 我不确定这是最近的问题还是来自“开始”。 Is it normal behavior that we can't see the value of variable in debug mode when we tick on it? 勾选时,在调试模式下看不到变量的值是正常行为吗? (It says ctr+shift+I to watch). (它说ctr + shift + I来观看)。

You can also use ctrl + shift + D to display the selected content. 您还可以使用ctrl + shift + D来显示所选内容。 Whatever you are trying to get the contents debug should reach that code. 不管您要调试什么内容,都应该到达该代码。

No, this isn't normal behaviour in Eclipse. 不,这不是Eclipse中的正常行为。 As soon as a thread hits a breakpoint and enables the debugging perspective, you should be able to inspect your variables either by hovering, Ctrl+Shift+I or with "Inspect" in your context menu. 一旦线程到达断点并启用调试透视图,您应该能够通过悬停,Ctrl + Shift + I或上下文菜单中的“检查”来检查变量。

In what state is Eclipse when you are trying to watch the variable? 当您尝试监视变量时,Eclipse处于什么状态?

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

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