美文网首页
Xcode控制台打印字符串失败情况

Xcode控制台打印字符串失败情况

作者: xiao晖 | 来源:发表于2021-02-04 17:11 被阅读0次

偶然发现字符串对象赋值后,一直显示 nil , 随后跟进,发现很诡异的报错

error: Couldn't materialize: couldn't get the value of variable memberId: Failed to dereference pointer from 0x16ee58290 for DW_OP_deref: (null)

error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression
image.png

字符串对象指向的值是正确的,但是Xcode无法显示控制台无法打印。
重启Xcode情况依旧,有没大神解释一下原理。
有其他小伙伴遇到过类似的吗?

相关文章

网友评论

      本文标题:Xcode控制台打印字符串失败情况

      本文链接:https://www.haomeiwen.com/subject/qktrrxtx.html