如何在 LLDB 中打印具有给定地址的对象的 属性?

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

我知道 po 0x12345 可以打印对象的描述,但是如果我想打印它 属性

(例如 属性 frame 0x12345 处的对象),

我该怎么做?

将其转换为对象类型。示例:

po ((UIView *) 0x12345).layer