Find the answer to your Linux question:
Results 1 to 10 of 10
Hello all, Currently running opensuse 10.3 and have some C++ code. Is there a *really* good debuger out there for Linux? Something that is easy to work with but graphically ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    33

    best C++ Linux debugger?


    Hello all,

    Currently running opensuse 10.3 and have some C++ code.

    Is there a *really* good debuger out there for Linux? Something that is easy to work with but graphically oriented?

    TIA

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    gdb has a front end, its called xxgdb, the terms you are using are quite subjective, what is easy for me may not be easy for you, gdb is the standard for debugging c and c++ on linux

  3. #3
    Just Joined!
    Join Date
    Nov 2008
    Posts
    28
    I'm using OpenSuse as well, using Kdbg as debugger. It has everything I need, don't know xxgdb myself.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Enthusiast gerard4143's Avatar
    Join Date
    Dec 2007
    Location
    Canada, Prince Edward Island
    Posts
    714
    Quote Originally Posted by morfanaion View Post
    I'm using OpenSuse as well, using Kdbg as debugger. It has everything I need, don't know xxgdb myself.
    Kdbg is just a graphical front end for GNU's gdb...Gerard4143
    Make mine Arch Linux

  6. #5
    Just Joined!
    Join Date
    Nov 2008
    Posts
    28
    true. though from what coopsta says, xxgdb sounds like that's just a graphical front end as well. But in the end, what do you work with? I can't work with just GDB to debug my applications, the graphical front end makes thing a whole lot easier.

  7. #6
    Linux Enthusiast gerard4143's Avatar
    Join Date
    Dec 2007
    Location
    Canada, Prince Edward Island
    Posts
    714
    Me, I just use gdb...Gerard4143
    Make mine Arch Linux

  8. #7
    Just Joined!
    Join Date
    Aug 2009
    Posts
    1
    d0mufasa,

    You might try TotalView. It is a bit unique in the Linux world because it is a graphical C++ debugger that is not based on gdb.

    You don't say much about your problem but we find that many C++ users benefit from the following features:

    * Display of the contents of STL container class objects rather than the implementation
    * The ability to set breakpoints on all methods of a class at one time
    * Highlighting of variables that change
    * The ability to follow pointers with a double click .. for complex data structures
    * The ability to easily cast objects to other objects in the inheritance hierarchy
    * Memory leak detection that works with new and delete
    * Multi-threaded debugging including thread breakpoints, thread groups, and thread barriers

    See the totalviewtech.com website for videos, a 15 day fully featured demo, and a free student edition.

    Cheers,
    Chris

    Disclaimer: I work for TotalView Technologies, as the product manager. Google search me and you'll find that I talk a lot about linux debugging in many places. As per good style for forums such as these I've stuck to statements of fact above. However I love working at TV Tech because we really do make cool stuff. Check out our ReplayEngine to see a really novel way to debug broken programs or understand complex functions.

  9. #8
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,664
    You can use Eclipse as a front-end to gdb which does a nice job of source-code debugging. Personally, however, I am the old-fashioned type who prefers to use gdb in the raw, so to speak.

    If you are using KDE, then you can use the kdbg debugger (I think it's a front-end to gdb).
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  10. #9
    Just Joined!
    Join Date
    Jun 2009
    Posts
    33
    Hi again,

    I know this is an old post but I thought I would ask something else.

    Basically, I found valgrind

    I have also found something called QT Create:
    how to install qt4.5 open source

    Are there any views on this?

    TIA

  11. #10
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Hello, d0mufasa

    Please start a new thread. We generally close revived threads that are more than about 6 months old and this one is nearing 2 years old.

    Thank you.
    oz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •