Show “All Instances” missing in eclipse debug view

匆匆过客 提交于 2019-12-13 03:52:49

问题


few days ago, when I was debugging an Android project under eclipse I've found some great functionality: "All instances..." and "Instance count". I wanted to share my findings with rest of my colleagues, but none of them had this functionality in their eclipse install (we all use eclipse 3.7).

What's even more weird now I'm also missing this functionality.

As far as I can tell this functionality is build within eclipse from version 3.3 and available to projects using Java 1.6 and above as mentioned here and here (we're using 1.6).

See bottom of this link to see what functionality I'm talking about. It even has it's own shortcut in options (ctrl+shift+n) so I think there must be a way to use it again.

I was looking for it while debugging and while the debugger was in "stopped" state.

Anyone can help me put eclipse in right view/perspective/state to see this functionality again?

EDIT

Here is the documentation entry from eclipse help page: link

Thanks for any suggestions, kajman


回答1:


After some more digging I came to following conclusion:

DalvikVM does not support "instance retrieval".

On eclipse help page mentioned in EDIT section it written:

This command is only available if the Java virtual machine you are currently using supports instance retrieval.

Maybe there is an option to enable this option in DalvikVM, but I doubt it unfortunately. Also when debugging on phone "Drop to frame" functionality is missing.



来源:https://stackoverflow.com/questions/10697639/show-all-instances-missing-in-eclipse-debug-view

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