ufo22940268
V2EX  ›  Swift

总算解决 Swift 断点调试在某种情况下不能打印变量的问题

  •  
  •   ufo22940268 ·
    ufo22940268 · Aug 15, 2019 · 4604 views
    This topic created in 2573 days ago, the information mentioned may be changed or developed.

    问题的描述在这里

    然后我找到的解决方案是在 lldb 里面输入下面命令就可以打印

    fr v the-variable-you-want-to-print
    
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1264 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 23:51 · PVG 07:51 · LAX 16:51 · JFK 19:51
    ♥ Do have faith in what you're doing.