Debugger and function calls



Hi,

when I stop a java program in a debugger (e.g. Eclipse), why I cannot call
methods like
System.out.println(someObject)
on data from my program? When I try to evaluate this, Eclipse says:
com.sun.jdi.InvalidTypeException: Type of the value not compatible with the
expected type. occured invoking method.

Thanks, Jan


.



Relevant Pages