[BLUEJ-532] Show fields of outer classes?
Inner classes have access to and may be affected by the fields of outer classes, but the debugger ignores them. Could it show them in the same way as inherited fields from a base class?
{noformat} public class Outer { private int x;
public Outer()
{
new Inner().start();
}
private class Inner extends Thread
{
@Override
public void run()
{
x++;
}
}
public static void main(String[] args)
{
new Outer();
}
} {noformat}
Place a break point on line 15 (x++). The debugger gives no access to x.
Issue metadata
- Issue type: Task
- Priority: Low