Subject: Re: trace always enabled?

Re: trace always enabled?

From: Aris Adamantiadis <aris_at_0xbadc0de.be>
Date: Fri, 20 May 2011 17:26:16 +0200

Le 20/05/11 15:34, Mark Roden a écrit :
> I agree with Neil.
>
> You could also support a release-with-debug build, something that's
> optimized but still supports debugging macros. That way, if someone
> encounters a bug due to optimization, they at least will have traces
> available to them.

Hi,

That's what we do with libssh, it's compiled by default, give us great
debugging info when there's a problem (sometimes fixes it immediatly),
and nobody ever complained about it taking too much CPU or space in the
binary.
Sometimes asking a user to recompile his distro's package is not realistic.

Kr,

Aris
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-05-20