return (DebugObject) o;
try {
Class c = o.getClass();
if(c.isArray()) {
final int len = Array.getLength(o);
return new DebugArrayObject(new DebugArrayProvider() {
private BitSet map = new BitSet(len);
private DebugArrayElement[] provided = new DebugArrayElement[len];
public int size() {
return len;