OS-3447 lx_debug should not blow out the stack when disabled