XPCContext::DebugDump(int depth)
nsXPConnect::DebugDump(PRInt16 depth)
XPCContext::DebugDump(int depth){#ifdef DEBUG    depth--;    XPC_LOG_ALWAYS(("XPCContext @ %x", this));        XPC_LOG_INDENT();        XPC_LOG_ALWAYS(("mJSContext @ %x", mJSContext));        XPC_LOG_ALWAYS(("mGlobalObj @ %x", mGlobalObj));        XPC_LOG_ALWAYS(("mWrappedNativeClassMap @ %x with %d classes", \            mWrappedNativeClassMap, \            mWrappedNativeClassMap ? mWrappedNativeClassMap->Count() : 0));        XPC_LOG_ALWAYS(("mWrappedJSClassMap @ %x with %d classes", \            mWrappedJSClassMap, \            mWrappedJSClassMap ? mWrappedJSClassMap->Count() : 0));        XPC_LOG_ALWAYS(("mWrappedNativeMap @ %x with %d wrappers", \            mWrappedNativeMap, \            mWrappedNativeMap ? mWrappedNativeMap->Count() : 0));        XPC_LOG_ALWAYS(("mWrappedJSMap @ %x with %d wrappers", \            mWrappedJSMap, \            mWrappedJSMap ? mWrappedJSMap->Count() : 0));        if(depth && mWrappedNativeClassMap && mWrappedNativeClassMap->Count())        {            XPC_LOG_ALWAYS(("The %d WrappedNativeClasses...",\                            mWrappedNativeClassMap->Count()));            XPC_LOG_INDENT();            mWrappedNativeClassMap->Enumerate(WrappedNativeClassMapDumpEnumerator, &depth);            XPC_LOG_OUTDENT();        }        if(depth && mWrappedJSClassMap && mWrappedJSClassMap->Count())        {            XPC_LOG_ALWAYS(("The %d WrappedJSClasses...",\                            mWrappedJSClassMap->Count()));            XPC_LOG_INDENT();            mWrappedJSClassMap->Enumerate(WrappedJSClassMapDumpEnumerator, &depth);            XPC_LOG_OUTDENT();        }        if(depth && mWrappedNativeMap && mWrappedNativeMap->Count())        {            XPC_LOG_ALWAYS(("The %d WrappedNatives...",\                            mWrappedNativeMap->Count()));            XPC_LOG_INDENT();            mWrappedNativeMap->Enumerate(WrappedNativeMapDumpEnumerator, &depth);            XPC_LOG_OUTDENT();        }        if(depth && mWrappedJSMap && mWrappedJSMap->Count())        {            XPC_LOG_ALWAYS(("The %d WrappedJSs...",\                            mWrappedJSMap->Count()));            XPC_LOG_INDENT();            mWrappedJSMap->Enumerate(WrappedJSMapDumpEnumerator, &depth);            XPC_LOG_OUTDENT();        }        XPC_LOG_OUTDENT();#endif}