Graphical debugger for Linux

This is a discussion on Graphical debugger for Linux within the C Programming forums, part of the General Programming Boards category; Hi, I need a graphical debugger for Linux. I have gdb but its command line and DDD does not offer ...

  1. #1
    Super unModrator
    Join Date
    Dec 2007
    Posts
    321

    Graphical debugger for Linux

    Hi, I need a graphical debugger for Linux. I have gdb but its command line and DDD does not offer precompiled binaries so I will have to build it myself (which I don't know how to do and I don't want to do). Is there any other graphical debugger for me (free and available as .deb package) ?

    Thanks

  2. #2
    Registered User
    Join Date
    May 2008
    Posts
    87
    On my system emacs and gdb play pretty nice together. I can have two "windows" open in emacs, one is the interface to gdb, the other is my code. As I step through, the editor highlights where i am in the code. Could give that a shot. I think to start gdb from within emacs, M-gdb where M is usually alt-x or alt-esc on most system. Check your documentation.

    Other than that, there are some fairly common IDEs out there,
    http://anjuta.sourceforge.net/
    http://www.kdevelop.org/
    http://www.eclipse.org/

    I don't use any of those, but I'm sure they have similar graphical debugging features.

  3. #3
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    What is so hard about,

    1. Unpack the DDD source distribution
    2. Change into the ddd-version subdirectory
    3. Type ./configure; make
    Your post was more typing...

  4. #4
    Super unModrator
    Join Date
    Dec 2007
    Posts
    321
    I just downloaded eclipse and now i will try to get used to it. Apparently DDD is no longer available for debian (not even source).

  5. #5
    Registered User
    Join Date
    Apr 2008
    Posts
    395
    Apparently DDD is no longer available for debian (not even source).
    As long as the program is maintained and the source available somewhere, whatever distribution you use, you can still compile it.

  6. #6
    Registered User
    Join Date
    May 2008
    Posts
    87
    Quote Originally Posted by root4 View Post
    As long as the program is maintained and the source available somewhere, whatever distribution you use, you can still compile it.
    This is true. However, for people new(er) to linux, I think they overestimate the difficulty of doing this. Also, if you use a distribution like debian, you may need to install the "development" version of certain packages before you can compile on your system. It could be discouraging for a newer user if they hit a several bumps in the road along the way. That said I don't encourage entirely avoiding it. The GNU built system is (generally) something to appreciate.

    Another thing is that if you install something by hand, the distribution doesn't know about it and thus can't keep you up to date.

    To bring the discussion back on topic, have fun with eclipse, hope it gives you the interface you were looking for!

  7. #7
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    I have a package called "ddd" on my Debian Lenny (testing) system and a Debian Sid (unstable) system as well. It's a binary package. I have it installed here, and it seems to work fine.

    I suspect that the web page is just not up for some reason, that's all.

    In any case, if you're installing packages in Debian, going through the web pages is a pain. Try a graphical package manager such as synaptics (for Gnome) or kpackage (for KDE). I like aptitude, but that's not really graphical.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting a C# program with a manifest file to run in the debugger
    By Xarzu Athanasop in forum C# Programming
    Replies: 0
    Last Post: 01-18-2008, 05:34 PM
  2. executing from debugger
    By hedwin in forum C++ Programming
    Replies: 8
    Last Post: 10-11-2007, 04:05 PM
  3. Replies: 3
    Last Post: 07-24-2007, 04:25 PM
  4. MSVC++ Debugger (it kills me)
    By lightatdawn in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 06-29-2002, 07:37 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21