问题描述:
正常情况下,变量值是可以点开看详细内容的,之前个人不知道什么时候突然间变成了上图的情况,折腾了好久终于解决了。由于google上解决办法很多种,我自己是试到第四种才顺利解决,这里记录一下。
This may be due to a problem in the bridging file between Swift and Objective-C, e.g the file {projectName}-Bridging-Header.h . To make sure about that:
1- add a breakpoint at the place you want to debug.
2- After the breakpoint is reached, write the lldb command po on any object in the xCode debugging output window. for example :
po self.view
If there is a problem you should see it's log and hopefully you can go and fix it