Very specifically, in JDI and JPDA context, I have the following questions:
Why
ObjectReference
does not expose its underlying object? Is it based on some specification? Are all implementations such as Eclipse Debug Project the same that do not expose the underlying object?Considering the situation that you have the
uniqueID()
fromObjectReference
, is there any way to resolve the underlying object from JVM?If no to the previous question, then what is the best way to resolve the underlying object? I should add that I am familiar with how
Value
's can be obtained fromStackFrame
information, but I really need the object reference not the internal values or structure of the fields.