[lldb-dev] Printing non-truncated stdlib collections?
dunpealer at gmail.com
Mon Nov 4 12:42:26 PST 2013
Thanks! This works, though surprisingly slow; I just printed a
vector<vector<pair<int,int>>> of 384 elements, and it blocked for about 390
seconds (6:30 minutes!) before rendering.
The print only blocks for about 8 seconds when rendering the first 256
elements (i.e. without the settings change).
This is LLDB 3.4 from the LLVM aptitude repo, running on a high end Xubuntu
Linux 13.04 developer workstation.
This is obviously a major usability issue for me with LLDB. Should I file a
bug for this?
On Mon, Nov 4, 2013 at 10:05 AM, Greg Clayton <gclayton at apple.com> wrote:
> (lldb) settings show target.max-children-count
> target.max-children-count (int) = 256
> (lldb) settings set target.max-children-count 10000
> You can then add this line to your ~/.lldbinit file if you want the
> setting to always be increased.
> On Nov 3, 2013, at 7:57 PM, Dun Peal <dunpealer at gmail.com> wrote:
> > Hi,
> > When I do:
> > (lldb) p some_vector
> > It seems LLDB only actually prints the first 256 values. How do I get it
> to print the entire vector?
> > Thanks, D.
> > _______________________________________________
> > lldb-dev mailing list
> > lldb-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev