简体   繁体   English

使用什么,GDB或LLDB调试器用于xcode

[英]what to use, GDB or LLDB debuggers for xcode

Okay, I have just been through a massive amount of bull craparooonie with xcodes new LLDB debugger. 好吧,我刚刚通过xcodes新的LLDB调试器经历了大量的公牛craparooonie。

pretty much spent the better most of the day working on an error with my simulator that occurred after updating the debugger to LLDB.. so after figuring it all out I have rolled back to the GDB debugger by changing it in prefrences > edit scheme > debugger back to GDB. 在将调试器更新到LLDB之后,我的模拟器发生了错误,大部分时间都花费了很多时间。所以在计算完全后我通过在prefrences> edit scheme> debugger中更改它回滚到GDB调试回到GDB。 This has solved my issues for now, however I have a question. 这已经解决了我的问题,但是我有一个问题。

Apple are moving to a new set of LLVM suite of tools, I would like to know what I should do, is rolling back to GDB and waiting for a more stable version of LLDB to roll out a good idea? Apple正在转向一套新的LLVM工具套件,我想知道我应该做些什么,回滚到GDB并等待更稳定版本的LLDB推出一个好主意? or can you think of something better? 或者你能想到更好的东西吗?

pretty much my question is how best to handle the new upgrading of the xcode tools :) 几乎我的问题是如何最好地处理xco​​de工具的新升级:)

The best solution is always to use what works the best for you. 最好的解决方案始终是使用最适合您的方法。 I also keep GDB active despite xcode complaints. 尽管有xcode投诉,我还保持GDB活跃。 LLDB gives bogus results often. LLDB经常提供虚假结果。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM