ufo22940268
V2EX  ›  Swift

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

  •  
  •   ufo22940268 ·
    ufo22940268 · Aug 15, 2019 · 4412 views
    This topic created in 2472 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   ·   Solana   ·   3964 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 10:15 · PVG 18:15 · LAX 03:15 · JFK 06:15
    ♥ Do have faith in what you're doing.