.TH "Debug Macros" 3 "Wed May 18 2016" "LMDB" \" -*- nroff -*- .ad l .nh .SH NAME Debug Macros \- .SS "Macros" .in +1c .ti -1c .RI "#define \fBMDB_DEBUG\fP 0" .br .ti -1c .RI "#define \fBDPRINTF\fP(args) ((void) 0)" .br .ti -1c .RI "#define \fBDPUTS\fP(arg) DPRINTF(('%s', arg))" .br .ti -1c .RI "#define \fBDDBI\fP(mc) (((mc)->mc_flags & \fBC_SUB\fP) ? -(int)(mc)->mc_dbi : (int)(mc)->mc_dbi)" .br .in -1c .SH "Detailed Description" .PP .SH "Macro Definition Documentation" .PP .SS "#define MDB_DEBUG 0" Enable debug output\&. Needs variable argument macros (a C99 feature)\&. Set this to 1 for copious tracing\&. Set to 2 to add dumps of all IDLs read from and written to the database (used for free space management)\&. .SS "#define DPUTS(arg) DPRINTF(('%s', arg))" Print a debug string\&. The string is printed literally, with no format processing\&. .SS "#define DDBI(mc) (((mc)->mc_flags & \fBC_SUB\fP) ? -(int)(mc)->mc_dbi : (int)(mc)->mc_dbi)" Debuging output value of a cursor DBI: Negative in a sub-cursor\&. .SH "Author" .PP Generated automatically by Doxygen for LMDB from the source code\&.