Hi,

I am trying to view the content of a QString, in gdb I could simply type
from the command line:

(gdb)print mystr.toUtf8().constData()

and I would get the info, can I do something similar with lldb's data
formatters (hint: I am getting parse error)?

for example:
type summary add QString --summary-string "${var.toUtf8().constData()}"

​So my question is: can I use functions when defining 'type summary' or am
I limited to variables members only?

Thanks,​

-- 
Eran Ifrah
Author of codelite, a cross platform open source C/C++ IDE:
http://www.codelite.org
wxCrafter, a wxWidgets RAD: http://wxcrafter.codelite.org
_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to