How do I switch from lldb to gdb debugger types?

与世无争的帅哥 提交于 2019-12-21 21:09:04

问题


I have been looking around for quite a while trying to figure out how to switch from lldb to gdb and could not find anything on how to switch between the 2 in Xcode 6.1. I am trying to debug my app and I might be able to figure it out if I use gdb instead of lldb but I don't know if it will help me.

Any suggestions on which type of debugging is better and how to switch between the 2. Any input would be greatly appreciated.

Thanks in advance.


回答1:


The debugger for Xcode 6 is lldb, there is no switching to gdb.

There is no reason to need gdb. What is your problem with lldb, most of the commands are the same.

See: LLDB to GDB Command Map and The LLDB Debugger.



来源:https://stackoverflow.com/questions/28927815/how-do-i-switch-from-lldb-to-gdb-debugger-types

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!