且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何从lldb切换到gdb调试器类型?

更新时间:2023-09-29 14:10:16

Xcode 6的调试器是lldb,没有切换到gdb。

没有理由需要gdb。 lldb有什么问题,大部分命令都是一样的。



请参阅: LLDB to GDB Command Map LLDB调试器


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.

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.