Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
啊,我遇到了一个非常奇怪的问题。
我有一个断点集,我正在尝试检查一个 BOOL 值。locals 部分的摘要清楚地表明它是 NO。但是,我很确定传入的参数应该评估为 YES。
因此,我将鼠标悬停在有问题的变量上,然后出现以下屏幕,其中值为 0x01,摘要显示为 NO。(附上屏幕供您娱乐)。
这里发生了什么?
我已经向 Apple 报告了这个错误,这是我可以使用的解决方法(解决方案):
右键单击变量视图中的变量并选择“编辑摘要格式...”。你看到那里的字符串“NO”了吗?如果是这样,请将其删除。