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

已回答

 

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

0
Avatar
Permanently deleted user
正式评论

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/swift-vs-objective-c to find out additional information related to this topic.

0

请先登录再写评论。