When <SUBSYS>_DEBUG_WAIT is true, a daemon will pause on startup, running a loop of bool debug_wait=1;while(debug_wait){sleep(1)};. That way you can attach to the daemon with a debugger and continue the run. -Note that as of June 18, this doesn't work well on at least some branches as debug_wait gets optimized out. See #3064 for details. You might be able to "jump daemon_core_main.cpp:2046" (check the line number for your code!), but it appears dodgy. +(Prior to late June, 2012, this doesn't work reliably. debug_wait could be optimized out. See #3064 for details and workaround.) On Windows you might prefer the slightly more convenient <SUBSYS>_WAIT_FOR_DEBUGGER, documented below.