Printing dynamic arrays in LLDB
Printing dynamic arrays in LLDB
- Subject: Printing dynamic arrays in LLDB
- From: Tom Seddon <email@hidden>
- Date: Tue, 04 Dec 2012 19:34:04 +0000
(There was a thread about this a while ago, according to the archives but all the followups in the web archives are missing message bodies. So I've no idea what the conclusion was.)
If I've got a dynamically-allocated array, how can I view it in lldb?
In gdb, one could use the @ symbol to do things like this:
p x[0]@10
which would print 10 items, starting from the address of x[0]. Very convenient, if you don't have time to print out every single item individually.
There appears to be no such thing in lldb. Can that really be true?
Can anybody advise?
Thanks,
--Tom
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden