Is there a way to print an array slice in LLDB? For example, I have a C array of ints, and I want to see elements 3-5. I'm looking for something like p arr[3..5]
, but I cannot find the correct syntax.
Asked
Active
Viewed 795 times
1
-
1Have a look at the various answers to http://stackoverflow.com/questions/7062173/lldb-equivalent-of-gdbs-operator-in-xcode-4-1. – Martin R Jun 05 '14 at 21:01