ufo22940268
V2EX  ›  Swift

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

  •  
  •   ufo22940268 ·
    ufo22940268 · Aug 15, 2019 · 4444 views
    This topic created in 2494 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   ·   921 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 21:52 · PVG 05:52 · LAX 14:52 · JFK 17:52
    ♥ Do have faith in what you're doing.