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

0
5 comments
Avatar
Permanently deleted user
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.

Avatar
Permanently deleted user

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

Please sign in to leave a comment.