Xcode debug issues with realm
问题 I'm a little confused as to why p self.session and po self.session are returning different values? Which one should I trust in my debugging? It would appear my object is nil but then it would also appear it isn't. Is my session.messages nil or is it set??? 回答1: Guess i should have read the docs. Debugging Debugging apps using Realm’s Swift API must be done through the LLDB console. Note that although the LLDB script installed via our Xcode Plugin allows inspecting the contents of your Realm