简体   繁体   中英

Doubts on LLDB debugging method

In LLDB debugger , self.property works, but why doesn't self.property.property work.

example:

po self.modelData.arrayOfChatMessages

There is no member named arrayOfChatMessages .When a function from another class is stepped in and I try to do this:

po self.anotherClass 's property(The class in which the function that the debugger is stepped in is present) it gives the following message:

po self.anotherClassProperty

There is no member named anotherClassProperty . Can anyone please help me out.

Thank you.

This is a limitation of the debugger. To work around it, use regular message syntax:

po [[self modelData] arrayOfChatMessages]
po [self anotherClassProperty]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM