On Wed, Feb 20, 2013 at 1:41 AM, Tony Qin <anqin....@gmail.com> wrote: >> Debug mode and debug logs are different things; if you can't store the >> debug logs, you can still enable debugging mode without turning on >> debug logs. >> > > how to enable debug mode without turning on debug log? > > only set the following line does not work: > > int _event_debug_mode_on = 1;
event_enable_debug_mode() -- see http://www.wangafu.net/~nickm/libevent-book/Ref1_libsetup.html Also, try running with the latest 2.0.x-stable version maybe. Also, consider running under valgrind. *********************************************************************** To unsubscribe, send an e-mail to majord...@freehaven.net with unsubscribe libevent-users in the body.