[Libreoffice] use dbglevel=1 for --enable-debug builds?

Sebastian Spaeth Sebastian at SSpaeth.de
Thu Nov 18 04:08:49 PST 2010


On Thu, 18 Nov 2010 13:01:42 +0100, David Tardon wrote:
1)
> one would just run build -- dbglevel=2 in the desired module similarly
> as one runs build -- debug=true today.

2)
> As an alternative, we could add optional level argument to
> --enable-debug or add another option, say, --enable-assertions, that
> would do the same thing as --enable-debug and export dbglevel=1 in
> addition.

2) is more complicated, but also more discoverable and explicitely
documented. I dislike secret ENVVARIABLE incarnations that enable things
and not easily discoverable without trawling through READMEs.

So:
--enable-debug=2 (with 1 being the default)
or --enable-assertions (==--enable-debug=1) would be my preferred choice.

Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101118/d6108aec/attachment.pgp>


More information about the LibreOffice mailing list