if(isRoot)
depth--; XPC_LOG_INDENT(); for(uint16 i = 0; i < methodCount; i++)
nsXPCWrappedNative::DebugDump(int depth){#ifdef DEBUG    depth-- ;    XPC_LOG_ALWAYS(("nsXPCWrappedNative @ %x with mRefCnt = %d", this, mRefCnt));    XPC_LOG_INDENT();        PRBool isRoot = mRoot == this;        XPC_LOG_ALWAYS(("%s wrapper around native @ %x", \                         isRoot ? "ROOT":"non-root", mObj));        XPC_LOG_ALWAYS(("interface name is %s", GetClass()->GetInterfaceName()));        char * iid = GetClass()->GetIID().ToString();        XPC_LOG_ALWAYS(("IID number is %s", iid));        delete iid;        XPC_LOG_ALWAYS(("JSObject @ %x", mJSObj));        XPC_LOG_ALWAYS(("nsXPCWrappedNativeClass @ %x", mClass));        if(GetDynamicScriptable())            XPC_LOG_ALWAYS(("DynamicScriptable @ %x", GetDynamicScriptable()));        else            XPC_LOG_ALWAYS(("NO DynamicScriptable"));        if(!isRoot)            XPC_LOG_OUTDENT();        if(mNext)        {            if(isRoot)            {                XPC_LOG_ALWAYS(("Additional wrappers for this object..."));                XPC_LOG_INDENT();            }            mNext->DebugDump(depth);            if(isRoot)                XPC_LOG_OUTDENT();        }        if(isRoot)            XPC_LOG_OUTDENT();#endif    return NS_OK;}