Watch can't assign multi-dimensional array. Watch fails when trying to
evaluate a method taking a multi-dimensional array (more than 2 dimensions)
as parameter.
Code
public class Test {
private static double foo(double[][][] d) {
return 0.0;
}
public static void main(String[] args) {
double[][][] test = new double[2][2][2];
double x = foo(test);
System.out.println(x);
}
}
Place a breakpoint at line 8 (double x = foo(test);) and Debug. Add a Watch
for foo(test). Expression fails to evaluate with message "Type mismatch Can't assign