i’m just experimenting with building and debugging LO by myself, works so far but is somewhat ‘unhandy’ with threading, looks as e.g. calc is in an ‘input waiting / processing loop’ most of the time, while activities that I would like to see are handled in ‘new threads’ and finished before I can catch them with gdb.
from some investigation it’s commonly ‘not so easy’ to debug multi threaded programs, and should be possible to build them with “–enable-threads=single” instead.
just i didn’t find where to provide this option, config.log says “configured with: … --enable-threads=posix …”, but i couldn’t find where this option is thrown in.
any help appreciated
pls. do not!:
tell me this is a ‘user forum’ - i know that, asking here in an attempt not to ‘flood’ bugs with newbie questions (and to ‘spread the word’ for others),
tell me i should stay away from things outside my knowledge - i KNOW! that, and there is almost nothing I would like to do better than to avoid this nagging, but the slow progress in handling of bugs and my interest in using LibreOffice and! improving it for others leads me to try this hard way,
tell me that a single threaded build will react differently than the ‘real program’, that not all errors will occur there, but possibly others, that it will run slower - that’s all (almost) perfectly clear to me, what I am interested in is to be able to nail down simple logical errors, and to be able to understand the ‘flow’ of the data and the building of the structures, because this is not really easy with the documentation i have found so far, and does not! result self-explanatory from the source code. at least not for me …
a hint for a debugging suite or IDE working harmonic with LO would be nice, i had problems to configure ddd to a readable font size on a high-res display,