views:

148

answers:

0

When I'm debugging my Android applications in Eclipse, I frequently get a "JDI thread evaluations" error when I try to display the value of particular expressions using the Display view.

Similarly, it also seems to happen when I set conditions on breakpoints.

I'm not 100% sure about this, but the problem seems to occur when I evaluate expressions involving classes that are not referenced by the current class file. For example, if I have a List<Foo> myList, and I evaluate myList.get(0).getFooName(), it seems like this is the sort of case that would cause me to get a JDI thread evaluations error.

Any idea why it's happening or how I can work around it?