简单地说:有没有人知道gdb的GUI可以与最新版本的Visual c++中的特性集相提并论或接近?

详细说明:作为一个在Windows上花了大量时间编程的人,每当我必须在Linux中编写c++代码时,我发现的一个较大的绊脚石是,使用命令行gdb调试任何东西所花费的时间比在Visual Studio中长几倍,而且随着练习,它似乎并没有变得更好。有些东西用图形表示更容易或更快。

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

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

如果这样的程序不存在,那么我希望听到人们使用至少满足其中一些要点的程序的经验。 有人有什么建议吗?

编辑: 列出这些可能性很好,我也会尽我所能,但如果你能在回答中包括以下内容,那就更有帮助了: (a)你是否实际使用过这个图形用户界面,如果使用过,你对它有什么积极/消极的反馈。 (b)如果你知道,上述哪些功能是受支持的或不受支持的

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


当前回答

作为一个熟悉Visual Studio的人,我已经看了几个开源IDE来取代它,KDevelop在我看来是最接近Visual c++人可以坐下来开始使用的东西。当你在调试模式下运行项目时,它使用gdb,但kdevelop几乎处理了所有事情,所以你不必知道它是gdb;您只是单步执行或将手表分配给变量。

不幸的是,它仍然不如Visual Studio调试器好。

其他回答

我使用KDbg(只适用于KDE)。

DDD是gdb的GNU前端:http://www.gnu.org/software/ddd/

代码:Blocks c++ IDE有一个图形包装器,有一些你想要的功能,但没有VS的强大。

Qt Creator-on-Linux当然可以与Visual Studio-on-Windows for c++媲美。我甚至认为调试器方面更好。

您将找不到任何可以与Visual Studio调试器的原始功能竞争的覆盖GDB的东西。它太强大了,而且在IDE中集成得太好了。

对于Linux的替代品,如果您喜欢自由软件,可以尝试DDD。