[Libreoffice] Even more debugging info
Lionel Elie Mamane
lionel at mamane.lu
Thu Dec 1 05:36:28 PST 2011
On Thu, Dec 01, 2011 at 12:14:32PM +0100, Lubos Lunak wrote:
> On Wednesday 30 of November 2011, Tom Tromey wrote:
>>>> Any opinion about this patch? I have it in my local repo, and it helps
>>>> me when running under gdb, as gdb now knows about macros!
>> First, one must consider the tradeoffs. I always use -g3 when building
>> gdb, because gdb uses macros fairly heavily, and because I just don't
>> care about the extra space. I prefer the convenience. YMMV of course,
>> and I don't know enough about LibreOffice to offer an opinion.
> There is hope that LibreOffice is C++ enough to actually not use
> macros that need to be stepped through.
Well, I find it useful that when I'm on a line like
foo ( bar, SOME_MACRO )
I can do "print SOME_MACRO" and get the value without hunting down the
#define SOME_MACRO 1022
And LibreOffice definitely uses a lot of such #defines, and not
const int SOME_VALUE = 1022;
--
Lionel
More information about the LibreOffice
mailing list