Linux C++ Debugger

2020-05-19 02:24发布

I'm looking for the perfect Linux C++ debugger. I don't expect success, but the search should be informative.

I am a quite capable gdb user but STL and Boost easily crush my debugging skills. It not that I can't get into the internals of a data structure, it's that it takes so long I usually find another way( "when in doubt, print it out" ).

The macro language for gdb is weird and not very adaptive. Just look at the code for the stanford gdb utils to print out stl structures.

In short I'm unhappy with what I've got.

I recently stumbled upon Zero Bugs. It looks like a silver bullet. What do the current Zero Bugs users think of it?

Has anyone found other good solutions to the Linux C++ Debugger problem?

10条回答
Bombasti
2楼-- · 2020-05-19 03:00

UndoDB is amazing if you don't mind paying for it. The reversible capability is much much faster than GDB's. http://www.undo-software.com/

查看更多
何必那么认真
3楼-- · 2020-05-19 03:02

ddd (data display debugger)is quite good.....it is basically a visual gdb....

查看更多
地球回转人心会变
4楼-- · 2020-05-19 03:08

Recentg gdb (e.g. version 8.1) and g++ (e.g. GCC 7, in february 2018) are able to debug standard C++ containers thru Python scripts.

查看更多
迷人小祖宗
5楼-- · 2020-05-19 03:10

I haven't done C++ development in Linux for a while now but when I did I had good luck when KDevelop's debugger. Nothing revolutionary but it let you quickly explore object properties like you are looking for.

查看更多
登录 后发表回答