简体   繁体   English

Xcode调试变量和LLDB po转储不一致

[英]Xcode debug variable and LLDB po dump are inconsistent

I ran into a situation that Xcode shows different result of one object from the result of po command in LLDB. 我遇到了一个情况,即Xcode在LLDB中显示po命令结果中一个对象的不同结果。 firstly, all values in the object is nil and the object is displayed with *const type modifier, which it shouldn't be. 首先,对象中的所有值都是nil,对象用* const类型修饰符显示,它不应该是。 and when I use po to get datasource variable it shows correct data. 当我使用po获取数据源变量时,它会显示正确的数据。 However, it shows datasource is nil in Xcode variable list.( please see following screenshot) Can anyone explain why? 但是,它显示Xcode变量列表中的数据源为nil。(请参见下面的屏幕截图)任何人都可以解释原因吗?

lldb问题

This seems like the sort of thing you should file a bug with Apple about. 这似乎是你应该向Apple提交一个bug的事情。 Probably take more back and forth to figure out what is going on than can be easily done in this context. 可能需要更多来回来弄清楚发生了什么,而不是在这种情况下可以轻松完成。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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