po in LLDB with swift

后端 未结 4 1494
无人及你
无人及你 2020-12-13 04:26

How can I plot out variable\'s value in a Swift App with LLDB?

Earlier it was like po variable_name

Now I usually get some nasty error, like:

4条回答
  •  醉酒成梦
    2020-12-13 04:34

    I can confirm the same error, for Xcode beta4, and frame variable -L self

    displays something, but seems worst:

    : (SwiftCollectionViewSample.DetailViewController) self =

    I will definitively filed a bug, Enrico

    17819707 debugger prints error: use of unresolved identifier '$__lldb_injected_self'

提交回复
热议问题