Re: [Libreoffice] Examing unicode strings in gdb (while debugging LibO)

2010-11-18 Thread Michael Meeks
On Thu, 2010-11-18 at 09:30 +, Caolán McNamara wrote: > > See also scratch/writer/gdbinit-cbosdo in build.git. :) > > Without checking myself, are those pu macros horrifically slow or > speedy ? I vaguely recall trying something like that before, and got > whacked by astonishingly slow output

Re: [Libreoffice] Examing unicode strings in gdb (while debugging LibO)

2010-11-18 Thread Noel Power
On Thu, 2010-11-18 at 09:30 +, Caolán McNamara wrote: > On Thu, 2010-11-18 at 00:17 +0100, Miklos Vajna wrote: > > On Wed, Nov 17, 2010 at 04:44:19PM +, Caolán McNamara > > wrote: > > > print dbg_dump(string) [...] > Without checking myself, are those pu macros horrifically slow or > spee

Re: [Libreoffice] Examing unicode strings in gdb (while debugging LibO)

2010-11-18 Thread Miklos Vajna
On Thu, Nov 18, 2010 at 09:30:54AM +, Caolán McNamara wrote: > Without checking myself, are those pu macros horrifically slow or > speedy ? I vaguely recall trying something like that before, and got > whacked by astonishingly slow output. They are quiet slow for me, so I just use OSL_TRACE(

Re: [Libreoffice] Examing unicode strings in gdb (while debugging LibO)

2010-11-18 Thread Caolán McNamara
On Thu, 2010-11-18 at 00:17 +0100, Miklos Vajna wrote: > On Wed, Nov 17, 2010 at 04:44:19PM +, Caolán McNamara > wrote: > > print dbg_dump(string) > > > > should (in theory) generally work with rtl::OUString,rtl::OString,String > > and ByteString, etc. > > See also scratch/writer/gdbinit-cb

Re: [Libreoffice] Examing unicode strings in gdb (while debugging LibO)

2010-11-17 Thread Miklos Vajna
On Wed, Nov 17, 2010 at 04:44:19PM +, Caolán McNamara wrote: > print dbg_dump(string) > > should (in theory) generally work with rtl::OUString,rtl::OString,String > and ByteString, etc. See also scratch/writer/gdbinit-cbosdo in build.git. :) pgpTfdkus7frX.pgp Description: PGP signature __

Re: [Libreoffice] Examing unicode strings in gdb (while debugging LibO)

2010-11-17 Thread Caolán McNamara
On Wed, 2010-11-17 at 17:17 +0100, Giuseppe Castagno wrote: > Hi all, > > I remember there was a way to examine in human readable way a Unicode > string in OOo. > > It should be the same in LibO, but, alas :-(, I don't remember how. > > Does somebody remember how? print dbg_dump(string) shoul

[Libreoffice] Examing unicode strings in gdb (while debugging LibO)

2010-11-17 Thread Giuseppe Castagno
Hi all, I remember there was a way to examine in human readable way a Unicode string in OOo. It should be the same in LibO, but, alas :-(, I don't remember how. Does somebody remember how? TIA. beppec56. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu giuseppe.castagno