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


2. There are no decent ways to do debug logging on MacOS; none of the
commandline options are available

https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#Mac_OSX:_How_to_get_debug_information

What command line options? The same SAL_LOG environment variable is usable,
just like on Linux and Windows. You just have a build that has the logging
code compiled in. (I.e. either built with --enable-sal-log, --enable-debug
or even --enable-dbgutil. Normal production builds don't have it.) Use like
this, for instance, to get the output from SAL_INFO() calls with the tag
"sw" but no warnings.

misan:osx tml$ SAL_LOG=-WARN+INFO.sw
instdir/LibreOfficeDev.app/Contents/MacOS/soffice
info:sw.ui:32655:1:sw/source/uibase/app/swdll.cxx:123: Init Core/UI/Filter
info:sw.doc:32655:1:sw/source/core/doc/DocumentDrawModelManager.cxx:108:
before create DrawDocument
info:sw.doc:32655:1:sw/source/core/doc/DocumentDrawModelManager.cxx:138:
after create DrawDocument
info:sw.doc:32655:1:sw/source/core/doc/DocumentDrawModelManager.cxx:142:
before create Spellchecker/Hyphenator
info:sw.doc:32655:1:sw/source/core/doc/DocumentDrawModelManager.cxx:147:
after create Spellchecker/Hyphenator
info:sw.ui:32655:1:sw/source/uibase/uiview/view.cxx:788: before create
WrtShell
info:sw.core:32655:1:sw/source/core/view/vnew.cxx:84: View::Init - before
InitPrt
info:sw.core:32655:1:sw/source/core/view/vnew.cxx:102: View::Init - after
InitPrt
info:sw.pageframe:32655:1:sw/source/core/layout/frmtool.cxx:2615:
InsertNewPage p: 0x199ec0000 d: 0x7fd8291c0320 f: 0x7fd8291c04d0
info:sw.ui:32655:1:sw/source/uibase/uiview/view.cxx:842: after create
WrtShell
info:sw.pageframe:32655:1:sw/source/core/layout/pagechg.cxx:1502:
AssertFlyPages p: 0x199ec0000 d: 0x7fd8291c0320 f: 0x7fd8291c04d0 virt: 1
phys: 1 empty: 0
info:sw.idle:32655:1:sw/source/core/layout/layact.cxx:2104: SwLayIdle()
entry
info:sw.idle:32655:1:sw/source/core/layout/layact.cxx:2278: SwLayIdle()
return
info:sw.idle:32655:1:sw/source/core/layout/layact.cxx:2104: SwLayIdle()
entry
info:sw.idle:32655:1:sw/source/core/layout/layact.cxx:2278: SwLayIdle()
return
info:sw.idle:32655:1:sw/source/core/layout/layact.cxx:2104: SwLayIdle()
entry
info:sw.idle:32655:1:sw/source/core/layout/layact.cxx:2278: SwLayIdle()
return
info:sw.idle:32655:1:sw/source/core/layout/layact.cxx:2104: SwLayIdle()
entry
info:sw.idle:32655:1:sw/source/core/layout/layact.cxx:2278: SwLayIdle()
return
info:sw.core:32655:1:sw/source/core/attr/format.cxx:237: reparenting
11SwRootFrame at 0x7fd82b12dae0 from 8SwFormat at 0x199e8c228 to
13SwFrameFormat at 0x199e8c000
info:sw.core:32655:1:sw/source/core/attr/format.cxx:237: reparenting
16SwTextFormatColl at 0x7fd82b114460 from 8SwFormat at 0x7fd82b114100 to
16SwTextFormatColl at 0x7fd82876b8f0
misan:osx tml$

--tml

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.