}
private DebugVariable dumpPythonObject(Object value, DebugVariable debugVar) {
if (value instanceof PyInstance) {
PyInstance pyInstance = (PyInstance) value;
Object javaInstance = pyInstance.__dir__().__tojava__(Object.class);
debugVar = dumpPythonObject(javaInstance, debugVar);
return debugVar;
}
if (value instanceof PyList) {
PyList listValue = (PyList) value;