Reputation: 1651
How can I print all elements of a vector in lldb?
If you execute (v
is a vector):
expr v
It displays a max number of elements thats set to 256 by default. But I want to print an unabridged version/whole vector.
Upvotes: 1
Views: 293
Reputation: 1651
You can set the maximum number of displayed elements using:
settings set target.max-children-count 100000
(Setting it to 100000 elements)
Upvotes: 2