是否有适用于 Linux 的 C++ gdb GUI? [英] Is there a C++ gdb GUI for Linux?

查看:11
本文介绍了是否有适用于 Linux 的 C++ gdb GUI?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

简单地说:有谁知道 gdb 的 GUI 可以使它与您在较新版本的 Visual C++ 中获得的功能集相当或接近?

Briefly: Does anyone know of a GUI for gdb that brings it on par or close to the feature set you get in the more recent version of Visual C++?

详细说明:作为一个在 Windows 中花费大量时间编程的人,每当我必须在 Linux 中编写 C++ 代码时,我发现的一个较大的绊脚石是使用命令行 gdb 调试任何东西所花费的时间是我的几倍.它在 Visual Studio 中确实如此,并且通过实践似乎并没有变得更好.有些事情只是更容易或更快地以图形方式表达.

In detail: As someone who has spent a lot of time programming in Windows, one of the larger stumbling blocks I've found whenever I have to code C++ in Linux is that debugging anything using commandline gdb takes me several times longer than it does in Visual Studio, and it does not seem to be getting better with practice. Some things are just easier or faster to express graphically.

具体来说,我正在寻找一个 GUI:

Specifically, I'm looking for a GUI that:

  • 处理所有基本操作,例如跨步和进入代码,观察变量和断点
  • 理解并能显示复杂的内容&嵌套 C++ 数据类型
  • 在显示参数类型等相关信息时,不会被模板化代码和数据结构所迷惑,并且最好能够智能地单步执行
  • 可以处理线程应用程序并在不同线程之间切换以单步执行或查看状态
  • 除了在 gdb 中启动程序外,还可以处理附加到已启动的进程或读取核心转储

如果不存在这样的程序,那么我想听听人们在使用至少满足某些要点的程序方面的经验.有人有什么建议吗?

If such a program does not exist, then I'd like to hear about experiences people have had with programs that meet at least some of the bullet points. Does anyone have any recommendations?


列出可能性是很好的,我会尽我所能,但如果你能在你的回复中加入它会更有帮助:
(a) 您是否实际使用过此 GUI,如果使用过,您对此有什么正面/负面反馈.
(b) 如果您知道,上面提到的哪些功能是/不支持的


Listing out the possibilities is great, and I'll take what I can get, but it would be even more helpful if you could include in your responses:
(a) Whether or not you've actually used this GUI and if so, what positive/negative feedback you have about it.
(b) If you know, which of the above-mentioned features are/aren't supported

列表很容易获得,这样的网站非常棒,因为您可以了解人们使用应用程序的个人体验.

Lists are easy to come by, sites like this are great because you can get an idea of people's personal experiences with applications.

推荐答案

你不会发现任何东西覆盖 GDB 可以与 Visual Studio 调试器的原始功能相媲美.它太强大了,而且它在 IDE 中集成得也很好.

You won't find anything overlaying GDB which can compete with the raw power of the Visual Studio debugger. It's just too powerful, and it's just too well integrated inside the IDE.

对于 Linux 替代方案,如果您喜欢免费软件,请尝试 DDD.

For a Linux alternative, try DDD if free software is your thing.

这篇关于是否有适用于 Linux 的 C++ gdb GUI?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆