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


On 03/24/2014 03:57 PM, Regina Henschel wrote:
Stephan Bergmann schrieb:
On 03/24/2014 02:25 PM, Regina Henschel wrote:
I use it. The default setting is to show the error message in a message
box. But I want to get the error message in a window.

I assume you are developing on Windows.  What error messages are you
talking about?  I'd assumed that all debug output (tools/debug.hxx
DBG_ASSERT et al; osl/diagnose.h OSL_ASSERT et al; sal/log.hxx SAL_WARN
et al) by now goes to stderr on all platforms (where on Windows the
stderr output is at least visible when running soffice from a Cygwin
shell).

Yes, it is on Windows and about these messages.

But if you document what values are needed in the dbgsv.ini file, then
the dialog itself is not needed. The documentation would have to include
the help texts of the dialog as well.

No, I was mostly interested in removing the underlying functionality.

You asked "Does anyone do that..?" and therefore I have answered. But I
have not developed for LO directly for a long time, but my things come
in from AOO. So there is no need to take me into account.

Ah, that explains the above, about redirecting DBG_ASSERT output, which is no longer available in LO since the introduction of the sal/log.hxx functionality.

And don't get me wrong---your input is welcome. I should have phrased my original question better.

I wonder, why you want to remove the functionality. Does it any harm?

The usual thing, reducing maintenance cost by removing unused (if it turns out to be) code. (I stumbled across it when pondering how best to fix <https://bugs.freedesktop.org/show_bug.cgi?id=76179> "[Embedded Firebird] - no DbgTestSolarMutex function set warning.")

Stephan

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.