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


On 25 July 2011 18:15, Michael Meeks <michael.meeks@novell.com> wrote:

Hi Knut,

On Mon, 2011-07-25 at 17:25 +0200, Knut Olav Bøhmer wrote:
1. Where can I find the main-loop in LibreOffice

       Ah - that at one level easy - attach a debugger, and watch the
backtrace for a bit ;-) the main main-loop lives inside vcl/ and handles
95% of the application code - living under the 'solar mutex'.

Thanx.

2. How do I start a program (LibreOffice) to trace from Visual Studio
C++ 2008? (I know how to attach to an exsisting process)

       Sadly I don't know. I imagine you need to avoid the splash binary - and
run soffice.bin. I would be tempted to remove soffice.exe rename
soffice.bin -> soffice.exe and debug that way.

I found it.
devenv /debugexe program args

I had to "cd URE\bin\" because I got an error message about sal3.dll.

Why does we have two binaries?



       Oooh ! and if you can build / debug on windows :-) perhaps you could
help fix the dumb-ness that we duplicate many megabytes of icons between
soffice.bin and soffice.exe (?) it requires only a small set of hacks I
think.

Do you have more information?

--
Knut Olav Bøhmer

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.