30

What is the id=xxx next to variable entries in the Eclipse Debugger> I know it seems to uniquely identify the object. But what I can't tell is what it's relationship to the object is.

Screenshot

aleroot
  • 71,077
  • 30
  • 176
  • 213
auser
  • 6,307
  • 13
  • 41
  • 63

3 Answers3

28

The ID number is arbitrarily assigned by the eclipse debugger, it is just a clue that can help when you are debugging to easily figure out if two variables are pointing to the same object or not ...

aleroot
  • 71,077
  • 30
  • 176
  • 213
3

From http://www.manning-sandbox.com/thread.jspa?threadID=11426 it looks like it is the JPDA ObjectReference.uniqueId

Ajay George
  • 11,759
  • 1
  • 40
  • 48
-1

The id field uniquely identifies an object.

Chris Dargis
  • 5,891
  • 4
  • 39
  • 63