是否有一个C ++ gdb GUI for Linux? [英] Is there a C++ gdb GUI for Linux?

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

问题描述



详细说明:作为在Windows中花费大量时间编程的人,当我在Linux中编写C ++时,我发现了一个更大的绊脚石,就是使用命令行gdb调试任何东西比我花费的时间多几倍Visual Studio,它似乎没有越来越好与实践。



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




  • 处理所有基础知识,例如,

  • 理解并显示复杂&内容的内容。嵌套C ++数据类型

  • 不显示相关信息(例如参数类型),而是可以智能地逐步执行模板化代码和数据结构。

  • 可以处理线程应用程序并在不同线程之间切换以逐步通过或查看
  • 的状态
  • 除了启动之外,还可以处理附加到已启动的进程或读取核心转储program in gdb



如果这样的程序不存在,那么我想听听人们对程序的体验满足至少一些要点。
任何人有任何建议吗?



编辑

列出可能性很大,我们会得到我能得到的,但如果你可以包括在你的回答会更有帮助:

(a)无论你是否真的使用了这个GUI,如果是的话,积极/

(b)如果您知道,上述功能中的哪些不受支持



列表

解决方案

您可以通过这些网站了解自己的个人经历。将不会找到覆盖GDB的任何可以与Visual Studio调试器的原始功能竞争的任何。它只是太强大,它只是太好地集成在IDE内。



对于Linux替代方案,如果自由软件是你的话,请尝试DDD。


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++?

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.

Specifically, I'm looking for a GUI that:

  • Handles all the basics like stepping over & into code, watch variables and breakpoints
  • Understands and can display the contents of complex & nested C++ data types
  • Doesn't get confused by and preferably can intelligently step through templated code and data structures while displaying relevant information such as the parameter types
  • Can handle threaded applications and switch between different threads to step through or view the state of
  • Can handle attaching to an already-started process or reading a core dump, in addition to starting the program up in 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?

Edit:
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.

解决方案

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.

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

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

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