Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


On Thu, Nov 18, 2010 at 01:01:42PM +0100, David Tardon wrote:
Hi all,

currently, configuring with --enable-debug means that dbglevel is set to
2, which in turns means that OSL_DEBUG_LEVEL is set to 2. This enables
all the OSL_ debugging stuff there is (well, maybe there is some really
rare stuff that is only enabled for OSL_DEBUG_LEVEL > 2, but I don't
know about any), which spews unbelievable amount of stuff on stdout.

If we used dbglevel=1 as default, only assertions would be enabled and
the output would be much more manageable (practically nonexistent in
most cases, from my experience). My hope is that more devs would just be
configuring with --enable-debug and using/fixing assertions. The full
debug build would still be easily available: one would just run
build -- dbglevel=2 in the desired module similarly as one runs
build -- debug=true today.

From impl. standpoint: AFAIK this would require one-line change in
solenv/inc/settins.mk .


The few replies support the idea, so I've committed it.

D.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.