3

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.

Nathan
  • 8,093
  • 8
  • 50
  • 76

0 Answers0