Tsung Lin Tsai
Tsung Lin Tsai

Reputation: 661

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. firstly, all values in the object is nil and the object is displayed with *const type modifier, which it shouldn't be. and when I use po to get datasource variable it shows correct data. However, it shows datasource is nil in Xcode variable list.( please see following screenshot) Can anyone explain why?

lldb issue

Upvotes: 1

Views: 555

Answers (1)

Jim Ingham
Jim Ingham

Reputation: 27110

This seems like the sort of thing you should file a bug with Apple about. Probably take more back and forth to figure out what is going on than can be easily done in this context.

Upvotes: 2

Related Questions