QtCreator for LibreOffice : debugger integration

Michel Renon michel.renon at free.fr
Mon Jun 15 06:21:04 PDT 2015


Hi,

Here is the next step of QtCreator integration : debugging of OUString
(and internal type rtl_uString)

http://imgur.com/ZrvIZ2V,2G52CwW,2r2wVSP

1 : default view for OUString variable : just address and length
2 : new view : you have the string (here with some specific french 
characters and 'euro' symbol)
3 : new view : you can have internals of OUString

I had to write few lines of python into ~/.gdbinit file.

My question is :
as it's not a source file, how/where should I upload that file ? And 
instructions to use it ?



And a noob question :
how to define an unicode string in c++ ?
I wrote :
rtl:OUString sTest = "éèà€";
or
rtl:OUString sTest("éèà€");

but it both failed into assert at runtime.


Cheers,
Michel


More information about the LibreOffice mailing list