[lldb-dev] Displaying custom types in STL containers

Florin Trofin via lldb-dev lldb-dev at lists.llvm.org
Fri Mar 16 00:19:42 PDT 2018


Hello,

I have a custom Python formatter for my own string type (a specialization
of std::basic_string). It displays fine by itself but when it is inside an
STL container (vector, map, etc), I lose the format (shows the default view
that lldb uses when you don't have a special formatter). How can I fix
that? It's not feasible to add a summary for every possible combination
(especially for std::map).

Thanks!

Florin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20180316/f0b3a79f/attachment.html>


More information about the lldb-dev mailing list