[lldb-dev] Displaying custom types in STL containers
Florin Trofin via lldb-dev
lldb-dev at lists.llvm.org
Mon Mar 19 18:04:48 PDT 2018
Ok,but how do you debug this? Debugging the debugger's formatter seems
non-trivial. Are there any guides/steps?
Thanks!
F.
On Mon, Mar 19, 2018 at 10:29 AM, Greg Clayton <clayborg at gmail.com> wrote:
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20180319/cb5c189f/attachment.html>
More information about the lldb-dev
mailing list