[lldb-dev] Displaying custom types in STL containers

Greg Clayton via lldb-dev lldb-dev at lists.llvm.org
Mon Mar 19 10:29:20 PDT 2018

It should work no matter where this type is. You will need to debug and find out why it isn't being found as that is a bug.

> On Mar 16, 2018, at 12:19 AM, Florin Trofin via lldb-dev <lldb-dev at lists.llvm.org> wrote:
> 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
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

More information about the lldb-dev mailing list