[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: how to enable debug message



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.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/