In an application, I have a class with a few member variables and methods. Calling the method with bad parameters produces a AssertionError. I've setup the debugger to halt on uncaught exceptions.
Problem is, when switching over to the debug perspective, I can only see the class instance (on which the function was called) and the two parameters. I cannot expand the class instance to see the values of its member variables. There is a space to the left of the instance so I would assume that there should be an arrow there so one is able to expand it in a similar way as in the Outline.
Is there a configuration or something I must enable for this? Or have I misunderstood the variables window?
If it matters, this is Eclipse 3.2.2 in Ubuntu Linux.
[Update] I downloaded a new release from http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/R/eclipse-java-galileo-linux-gtk.tar.gz
"About Eclipse" now reports "Build id: 20090619-0625".
Testcase:
class Foo {
private int bar;
Foo() {
bar = 1;
}
public void set(int newbar) {
assert (newbar<0);
bar = newbar;
}
}
class Test {
public static void main (String[] args){
Foo f = new Foo();
f.set(5);
}
}
Obviously, this code produces the assertion exception. But the only change is the icon for "this" which changed from a green circle to a blue triangle in the new version. Still cant find a way to expand it. Here, I can see "this" for the Foo instance, as well as "newbar" and its value, to clarify, what I want to do is expand "this" and see its current value for "bar".