<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="font-family:arial,sans-serif">On 23 February 2017 at 14:34, Stephan Bergmann </span><span dir="ltr" style="font-family:arial,sans-serif"><<a href="mailto:sbergman@redhat.com" target="_blank">sbergman@redhat.com</a>></span><span style="font-family:arial,sans-serif"> wrote:</span><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On 02/23/2017 12:55 PM, Adomas Venčkauskas wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
    I cannot recognise your timing, on my mac the example takes far less<br>
    than a second.<br>
</blockquote>
<br></span>
Whom/what are you quoting here?</blockquote><div><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​Jan Iversen:​</div><div><br><div class="gmail_quote">On 23 February 2017 at 13:30, Jan Iversen <span dir="ltr"><<a href="mailto:jani@libreoffice.org" target="_blank">jani@libreoffice.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">Hi<div><br></div><div>I use LibreOffice daily on my Mac (Sierra), I happen to also be a developer and build LO for the Mac.</div><div><br></div><div><br><div><span class="gmail-"><blockquote type="cite"><div>2. There are no decent ways to do debug logging on MacOS; none of the</div><div>commandline options are available<br><a href="https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#Mac_OSX:_How_to_get_debug_information" target="_blank">https://wiki.<wbr>documentfoundation.org/QA/<wbr>BugReport/Debug_Information#<wbr>Mac_OSX:_How_to_get_debug_<wbr>information</a><br></div></blockquote></span>I normally work with versions compiled with —enable-debug, which give me plenty of debug.</div><div><br></div><div><span class="gmail-"><br><blockquote type="cite"><br>4. Since MacOS Sierra LibreOffice is generally very slow. We have been<br>getting reports of people having issues after performing a couple of actions<br>with our extension, but there have been no changes on our end since 2015.<br>Moreover, it seems that LibreOffice itself is terribly slow -- on my 2014<br>MacBook Pro it takes some good 5 seconds to open Character..., Paragraph...<br>or Bullets and Numbering... dialogs. On a 2016 linux machine with similar<br>specs it's essentially instantaneous. There are some reports of this<br>slowness online, but no bugs on the bugtracker that I could find.<br><a href="https://ask.libreoffice.org/en/question/79342/libreoffice-extremely-slow-in-mac-os-sierra/" target="_blank">https://ask.libreoffice.org/<wbr>en/question/79342/libreoffice-<wbr>extremely-slow-in-mac-os-<wbr>sierra/</a><br><a href="https://ask.libreoffice.org/en/question/77793/libreoffice-hangs-on-macos-sierra/" target="_blank">https://ask.libreoffice.org/<wbr>en/question/77793/libreoffice-<wbr>hangs-on-macos-sierra/</a><br></blockquote></span>I cannot recognise your timing, on my mac the example takes far less than a second.</div><div><br></div><div>There was a startup issue, with libreoffice, but that has nothing to do with slow performance.</div><div><span class="gmail-"><br><blockquote type="cite">What is the current state of MacOS LO development<br>and is it possible to get some love for the MacOS version?<br></blockquote><div><br></div></span>We are some developers that work on Mac, so the love is there, but it seems a bit as if you have some other problems.</div><div><br></div><div>rgds</div><div>jan I.</div></div></div></blockquote><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​(this does not show up for me on Nabble, but I got it via the mailing list)</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​<span style="font-family:arial,sans-serif">On 23 February 2017 at 14:34, Stephan Bergmann</span><span style="font-family:arial,sans-serif"> </span><span dir="ltr" style="font-family:arial,sans-serif"><<a href="mailto:sbergman@redhat.com" target="_blank">sbergman@redhat.com</a>></span><span style="font-family:arial,sans-serif"> </span><span style="font-family:arial,sans-serif">wrote:</span></div></div></div></div></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div class="gmail_extra"><div class="gmail_quote"><div><div class="gmail_quote"><span class="gmail-im" style="font-size:12.8px"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">5. Trying to launch an Xdebug server with Java JDK 1.8.0_121 to debug a Java</blockquote></span></div></div></div></div><div class="gmail_extra"><div class="gmail_quote"><div><div class="gmail_quote"><span class="gmail-im" style="font-size:12.8px"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">extension throws an error "LibreOffice requires a Java runtime environment</blockquote></span></div></div></div></div><div class="gmail_extra"><div class="gmail_quote"><div><div class="gmail_quote"><span class="gmail-im" style="font-size:12.8px"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">(JRE) to perform this task. The selected JRE is defective. Please select</blockquote></span></div></div></div></div><div class="gmail_extra"><div class="gmail_quote"><div><div class="gmail_quote"><span class="gmail-im" style="font-size:12.8px"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">another version or install a new JRE and select it under LibreOffice -</blockquote></span></div></div></div></div><div class="gmail_extra"><div class="gmail_quote"><div><div class="gmail_quote"><span class="gmail-im" style="font-size:12.8px"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Preferences - LibreOffice - Advanced." I've followed these instructions</blockquote></span></div></div></div></div><div class="gmail_extra"><div class="gmail_quote"><div><div class="gmail_quote"><span class="gmail-im" style="font-size:12.8px"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><a href="https://help.libreoffice.org/Common/Start_Parameters" rel="noreferrer" target="_blank">https://help.libreoffice.org/C<wbr>ommon/Start_Parameters</a></blockquote></span></div></div></div></div></blockquote><div class="gmail_extra"><div class="gmail_quote"><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="font-size:12.8px">What is an "Xdebug server"?  If you are talking about spawning LO's soffice process from a Java process, a problem I could imagine is that the Java process sets DYLD_LIBRARY_PATH (or maybe some other env var) in a way that tricks LO into finding a different Java installation than it would normally do.  (This was a known problem with some versions of Sun's Java on Linux, where the LD_LIBRARY_PATH problem is mitigated by LO's javaldx helper program run from the soffice shell script.  I'm not sure whether that problem persists in recent Oracle Java versions or has meanwhile been fixed.)</span></blockquote><div><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​Oracle Java provides a way to debug the JVM externally as described:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">- <a href="https://help.libreoffice.org/Common/Start_Parameters">https://help.libreoffice.org/Common/Start_Parameters</a></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​- <a href="https://docs.oracle.com/cd/E13150_01/jrockit_jvm/jrockit/jrdocs/refman/optionX.html">https://docs.oracle.com/cd/E13150_01/jrockit_jvm/jrockit/jrdocs/refman/optionX.html</a></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I successfully managed to debug Zotero's Java based extension on Ubuntu 16.10 running LibreOffice 5.3.0.3 with JDK 1.8.0_121 by following <a href="https://help.libreoffice.org/Common/Start_Parameters">https://help.libreoffice.org/Common/Start_Parameters</a> and connecting via Eclipse. Note that I've started working with LO and Zotero extensions without any prior LO development experience this week, so I am mostly shooting in the dark here. Excuse my uninformedness. On Ubuntu the JVM with the debugging server is initialized when I click one of the extension buttons, which supposedly starts up JVM in LO as the extension is Java based.</div></div></div></div></div></div>