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 . 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. Both would require change to configure.in and set_soenv.in (to export proper dbglevel). I would accept either of these two, but IMHO it is complicating things too much. Opinions? D. _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice