<div dir="ltr"><div><div><div><div><div><div><div><div>> does there exists a written step-by-step tutorial, how to debug LO using Visual Studio, which is suitable for beginners?<br><br></div>1) Build with --enable-dbgutil --enable-debug on Windows.<br></div>2) Run the application in question from instdir/program.<br></div>3) Run VS and from Debug menu, click Attach to Process...<br></div>4) Find soffice.bin from the list (the title will help you find the correct application, in case you have many running).<br></div>5) Set a breakpoint, break, continue, and enjoy debugging.<br><br></div>Notice that this will not load the LO project or anything fancy like that. This is just purely for debugging. But it works perfectly well if you build LO correctly.<br><br></div>If you open the correct source in VS (after attaching to soffice.bin) and place a breakpoint, VS will know that it's part of the LO binary you are debugging.<br><br></div>You can also save this solution so you can reopen the same files with breakpoints at a later time to redo a similar debugging session.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 30, 2015 at 5:24 PM, Regina Henschel <span dir="ltr"><<a href="mailto:rb.henschel@t-online.de" target="_blank">rb.henschel@t-online.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
does there exists a written step-by-step tutorial, how to debug LO using Visual Studio, which is suitable for beginners? Or can someone guide me? I have never used Visual Studio up to now.<br>
<br>
I want to look why the MathML import has become so bad in LO (tdf#75171).<br>
<br>
Kind regards<br>
Regina<br>
_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank">LibreOffice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
</blockquote></div><br></div>