Shu, Xinxin wrote:
Hi list , I want to enable debug message for lmdb, I have noticed MDB_DEBUG Macro, and I define MDB_DEBUG when compiling lmdb, but did not get any debug message, how can I enable debug message ?
You can either set mdb_debug_start to a txnID from which you want debug output to begin, or just set mdb_debug=1 to have debug output immediately enabled. Usually we use gdb to set these on a target program.