Why does this debugger command works:
(lldb) **po indexPath**
<NSIndexPath: 0x1c0711b0> {length = 2, path = 3 - 0}
but this does not:
(lldb) **po [indexPath section]**
[no Objective-C description available]
?
for primitive types you have to use 'p' , 'po' is for objects
p = print
po = print object
so for example
(lldb) p [indexPath section]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With