Why I can't see objective-c's variable when debug swift file?

Answered

 

As pic above, MProcessVC is a swift file, caller is a local variable of Objective-C class, when I Debug, I can't see the Objective-C object's value.Is it a bug of Apple, because in XCode, I couldn't see it too

3 comments
Official comment

Hi,

If the problem is reproducible in Xcode then, yes, it's an issue of lldb (and AppCode uses the same lldb as Xcode). I'd recommend you file an Apple radar.

Thanks a lot for this useful post.
I suggest you should take a look at this article https://mlsdev.com/blog/51-7-advantages-of-using-swift-over-objective-c to find out additional information related to this topic.

0

Please sign in to leave a comment.