问题
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