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


Den 17/02/2015 07.34 skrev "Tor Lillqvist" <tml@iki.fi>:

Not many of us use it,

True.

I know. :-)

And maybe I will have to see it as a do-it-yourself project then, as Noel
suggested. I already started debugging the makefile and Python script
involved. I will probably learn something new in the process. :-)


However, that doesn't mean you can't use Visual Studio for debugging,
it is very simple to
just run VS and start a program and debug from it, and it will load the
correct source files, etc.

In more detail, what works fine is: Start the LibreOffice you just
built (presumably with debugging information --enable-debug) by
running instdir/program/soffice.exe. Start Visual Studio, but don't
open or create any project or solution. (It makes no difference
whether you start LibreOffice or Visual Studio first.)

Then attach the soffice.bin (not soffice.exe) process in Visual
Studio. soffice.bin is the actual LibreOffice process. Then open the
source file(s) you want to debug in Visual Studio and set one or
several breakpoints. Then do whatever is needed in LibreOffice to
cause the breakpoint to be reached. Then debug.

Well, I will at least try that. Thanks for the instructions. :-)

I am not sure if the Visual Studio "integration" even if it worked as
advertised would match your expectations. But I might be too
pessimistic.

I saw a video of what was possible [1] and it looked fine to
me. :-) Autocomplete, IntelliSense, immediate indication of errors in the
source code while you write it, instant navigation to definitions of
methods etc., and stuff like that. That was what made me want to try.

[1]: https://www.youtube.com/watch?v=Xn3CtIrMpIA

Maybe somebody who actually has used (or even worked on)
the integration can respond.

Yes, I hoped to reach somebody who did, even though I know they are not
many. But I'll just try to do it myself then.

Thanks a lot for your answers, Noel and Tor!

Jesper

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.