Re: Debugger and function calls



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

jan_bar schreef:
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.

Try selecting an element and Ctrl+Shift+I, or right-click -> Inspect.
or Eclipse specific questions, see news.eclipse.org:eclipse.newcomer

HTH, H.

- --
Hendrik Maryns

==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEfaIfe+7xMGD3itQRAtRNAJwIHJ/a8O1GyxBAixw1dotmvrxjFwCggq7e
4qJmkYT+VR7aPW8eRXRHsIk=
=hQ6g
-----END PGP SIGNATURE-----
.



Relevant Pages