Is there a C++ gdb GUI for Linux?
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.
GUI for a GNU Debugger
I highly recommend ddd especially if you have complex data structures to visualize.
Debugger with GUI for C++ on Linux
It's simple to work on project with existing makefile in Eclipse.
Just go to File -> Import -> C/C++ -> Existing code as Makefile project.
This will let you build your project from IDE. To debug it just go to Run -> Debug. If default launch generated this way is not ok for you, you can customized Launch configuration in Run -> Debug configurations.
Is there any tool for command line debugging on linux, instead of gdb?
Instead of gdb
, try gdbtui
for a semi-graphical interface.
For a full GUI, try one of these front-ends for gdb:
[gdb] does not contain its own graphical user interface, and defaults to a command-line interface. Several front-ends have been built for it, such as UltraGDB, Xxgdb, Data Display Debugger (DDD), Nemiver, KDbg, Xcode debugger, GDBtk/Insight and the HP Wildebeest Debugger GUI (WDB GUI). IDEs such as Codelite, Code::Blocks, Dev-C++, Geany, GNAT Programming Studio (GPS), KDevelop, Qt Creator, Lazarus, MonoDevelop, Eclipse, NetBeans and VisualStudio (see VS AddIn Gallery) can interface with GDB. GNU Emacs has a "GUD mode" and tools for VIM exist (e.g. clewn.) These offer facilities similar to debuggers found in IDEs.
Related Topics
Using Openmp with C++11 on MAC Os
Can Different Gcc Dialects Be Linked Together
Are Variadic MACros Nonstandard
When Pass a Variable to a Function, Why the Function Only Gets a Duplicate of the Variable
Does Reinterpret_Cast Lead to Undefined Behavior
C++ Templates: Conditionally Enabled Member Function
Accessing Static Member Through Invalid Pointer: Guaranteed to "Work"
What Is the Class Keyword Before a Function Argument
How to Load & Call a Vbscript Function from Within C++
Preferred Cmake Project Structure
How to Not Wait for a System() Command to Finish? (In C)
Implementing a Std::Vector Like Container Without Undefined Behavior
Vector<Unique_Ptr<A> > Using Initialization List
Making a Vector of Instances of Different Subclasses