Is it somehow possible to get the object id programmatically, which is seen in the debug tooltip in eclipse?
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 ... Follow this answer to receive notifications.
Window > Perspective > Open perspective > debug, and it shows the breakpoints window by default. Then ALT + SHIFT + Q, B toggles the window (or Window > Show view > Breakpoints)
Thats' the unique object-id eclipse assigns to objects it sees. It helps you in identifying objects while debugging.
Variables. We can see the values of variables during the execution under the Variables view. In order to see the static variables, we can select the drop-down option Java -> Show Static Variables. Using the variables view, it's possible to change any value to the desired value during the execution.
This is an internal ID from the eclipse debugger and has nothing to do with the JVM.
You can check this question for more information and a possible way to retrieve it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With