Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I print property of object with given address in LLDB?

I know po 0x12345 can print the description of the object, but if I wanna print its property

( for example property frame of the object at 0x12345 ),

How could I do it?

like image 558
Henry Avatar asked Jul 28 '17 09:07

Henry


1 Answers

Cast it to the object type. Example:

po ((UIView *) 0x12345).layer
like image 119
Octaviano Putra Avatar answered Nov 11 '22 16:11

Octaviano Putra