Who pressed Ctrl-Alt-Shift-D?

Stephan Bergmann sbergman at redhat.com
Tue Mar 25 01:52:41 PDT 2014


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


More information about the LibreOffice mailing list