Find the object by Eclipse debugger ID

不问归期 提交于 2019-12-23 16:34:03

问题


Eclipse's Debug panel shows a list of threads. If a thread is paused and is waiting for an object's lock, then Eclipse will display waiting for: (id=101). How do I use Eclipse to show me the object for id 101?

Note: This is an ID assigned by the debugger and has nothing to do with System.identityHashCode() or hashCode().

Note: This question asks how to get the ID of the object given the object. My question is the reverse.

来源:https://stackoverflow.com/questions/51294224/find-the-object-by-eclipse-debugger-id

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