RE: How to debug MozLDAP code?
"Xu, Qiang (FXSGSC)" <[email protected]> Fri, 21 Aug 2009 08:45:43 +0800
| Newsgroups | gmane.comp.mozilla.devel.directory |
|---|---|
| Message-ID | <D8C9BC7FFCF8154FB7141EB8DB609C172E71E1AC3F@SGPAPHQ-EXSCC01.dc01.fujixerox.net> |
> -----Original Message----- > From: Mark Smith [mailto:[email protected]] > Sent: Thursday, August 20, 2009 10:52 PM > To: Xu, Qiang (FXSGSC) > Cc: [email protected] > Subject: Re: How to debug MozLDAP code? > > I did not say to use a macro. I said to use the value 65535. > As you probably realize, the debug levels are defined as > bits so my goal was to match as many bits as possible. My misunderstanding. :-( > If you want to, you can define your own macro and use it in > your code, e.g., > > #define MY_LDAP_DEBUG_ALL 0xFFFF > > Using 65535 / 0xFFFF that will cause all debugging messages > to be included (LDAP_DEBUG_PLUGIN is not currently used in > the SDK code). Got it, Mark! Thanks a lot, Xu Qiang