result.takeValueForKey(debugPageProvider(),"debugPageProvider");
    public WOComponent debug() {        WOComponent result=null;        //if (log.isDebugEnabled()) log.debug("Object = "+object());        if (object() instanceof EOEditingContext) {            result=pageWithName("ERXEditingContextInspector");            result.takeValueForKey(object(),"object");        } else if (object() instanceof EOEnterpriseObject) {            result=debugPageForObject((EOEnterpriseObject)object(),session());            if(result != null) {                result.takeValueForKey(object(),"object");            } else if(object() instanceof ERXGenericRecord) {                log.info("Object: " + ((ERXGenericRecord)object()).toLongString());            } else {                log.info("Object: " + object());            }        }        return result;    }