The variable view of Eclipse Java Debug mode allows to inspect the values of variables. If the type of a variable has several sub-types, how to find out the actual type of the value?
Eclipse Standard/SDK
Version: Luna Service Release 1 (4.4.1)
Build id: 20140925-1800
Advertisement
Answer
Use expressions view. If for example your variable name is x
add x.getClass()
to expressions view and see the type.