Monero
Loading...
Searching...
No Matches
Debug Macros
Collaboration diagram for Debug Macros:

Macros

#define MDB_DEBUG   0
#define DPRINTF(args)
#define DPUTS(arg)
#define DDBI(mc)

Detailed Description

Macro Definition Documentation

◆ DDBI

#define DDBI ( mc)
Value:
(((mc)->mc_flags & C_SUB) ? -(int)(mc)->mc_dbi : (int)(mc)->mc_dbi)
#define C_SUB
Definition mdb.c:1398

Debuging output value of a cursor DBI: Negative in a sub-cursor.

◆ DPRINTF

#define DPRINTF ( args)
Value:
((void) 0)

◆ DPUTS

#define DPUTS ( arg)
Value:
DPRINTF(("%s", arg))
#define DPRINTF(args)
Definition mdb.c:582

Print a debug string. The string is printed literally, with no format processing.

◆ MDB_DEBUG

#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).