[lldb-dev] Using data formatters to display QString
Konstantin Tokarev
annulen at yandex.ru
Mon Apr 28 09:41:18 PDT 2014
28.04.2014, 19:56, "Enrico Granata" <egranata at apple.com>:
> You can't use expressions in summary strings.
> We have thought about this several times and have a couple ideas on how it could be done but for now it's not there.
>
> If you need to resort to an expression, you can use a python formatter instead and then you are free to call as many expressions as you like.
>
> However, this will cause a slowdown - running expressions is not free - and if you ever need to make sure nothing is altering your program state, running expressions might not be a safe bet.
> Is there really no other way to get to those UTF8 bytes?
QString stores UTF16 data inside.
--
Regards,
Konstantin
More information about the lldb-dev
mailing list