> -----Original Message----- > From: Mark Smith [mailto:[email protected]] > Sent: Wednesday, August 19, 2009 8:32 PM > To: Xu, Qiang (FXSGSC) > Cc: Anton Bobrov; [email protected] > Subject: Re: How to debug MozLDAP code? > > LDAP_DEBUG_ANY does not mean what you think it does in > MozLDAP (although MozLDAP and OpenLDAP share common roots in > the original University of Michigan LDAP implementation, they > diverged many years ago). To enable a lot of debugging > output, use a value like 65535.
>From ldaplog.h, it is defined: ============================================ #define LDAP_DEBUG_TRACE 0x00001 #define LDAP_DEBUG_PACKETS 0x00002 #define LDAP_DEBUG_ARGS 0x00004 #define LDAP_DEBUG_CONNS 0x00008 #define LDAP_DEBUG_BER 0x00010 #define LDAP_DEBUG_FILTER 0x00020 #define LDAP_DEBUG_CONFIG 0x00040 #define LDAP_DEBUG_ACL 0x00080 #define LDAP_DEBUG_STATS 0x00100 #define LDAP_DEBUG_STATS2 0x00200 #define LDAP_DEBUG_SHELL 0x00400 #define LDAP_DEBUG_PARSE 0x00800 #define LDAP_DEBUG_HOUSE 0x01000 #define LDAP_DEBUG_REPL 0x02000 #define LDAP_DEBUG_ANY 0x04000 #define LDAP_DEBUG_CACHE 0x08000 #define LDAP_DEBUG_PLUGIN 0x10000 ============================================ 65535 is 0xFFFF in hexdecimal, right? It seems not defined in the above macro. Have I missed anything? Thanks, Xu Qiang _______________________________________________ dev-tech-ldap mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-ldap
