> 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
_______________________________________________ LibreOffice mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice
