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 caol...@redhat.com wrote: print dbg_dump(string) [...] Without checking myself, are those pu macros horrifically slow

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.

[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

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) should (in

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 caol...@redhat.com 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: