Linux C++ Debugger

后端 未结 10 682
滥情空心
滥情空心 2021-02-01 08:10

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 c

相关标签:
10条回答
  • 2021-02-01 09:01

    I use the following environment:

    http://ec-lang.org/

    It is a complete development environment for the eC language.

    However, you can have a project with just c or c++ files without any eC specific files and build and debug them using the IDE.

    This is the closest you will ever come to a "Borland C" like experience under linux.

    It can be installed on Ubuntu/Debian with the following command:

    sudo apt-get install ecere-sdk

    0 讨论(0)
  • 2021-02-01 09:02

    Try ffffd.

    0 讨论(0)
  • 2021-02-01 09:03

    There are simple scripts which let you dump STL structures from GDB.

    Take a look here

    0 讨论(0)
  • 2021-02-01 09:03

    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.

    0 讨论(0)
  • 2021-02-01 09:06

    You can use Eclipse to step through C and C++ code if you are looking for an IDE type of debugger instead of a command-line debugger. It isn't perfect, but I've found it to work well for people already familiar with IDE debugging tools.

    I am also partial to Valgrind for detecting memory errors.

    0 讨论(0)
  • 2021-02-01 09:09

    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.

    0 讨论(0)
提交回复
热议问题