Solved

Get DDD working for linux

Posted on 2001-07-10
5
289 Views
Last Modified: 2010-04-21
Could someone please show me where to download DDD for .cpp code debugging on Linux? I also need instruction on how to instal DDD and make it work.

Thanks.
0
Comment
Question by:yingchunli
5 Comments
 
LVL 5

Accepted Solution

by:
garboua earned 40 total points
ID: 6272818
go to http://www.rpmfind.net/linux/RPM/rawhide/1.0/i386//RedHat/RPMS//ddd-3.3.1-4.i386.html and download the package.
also look at middle of page and it will show you all dependencies.
you can also look for it in your distribution CD.
to install the package type "rpm -Uvh ddd-3.3.1-4.i386.rpm" and it should install, or spit out what packages it needs.
if you download the source package, will end with something like ddd*.src.rpm, you can rebuild it on you system, simply type "rpm --rebuild ddd-3.3.1-4.src.rpm" and it should build it on your system.  the binray package will be placed in your /usr/src/redhat/RPMS/i386, then you can install it using the first "rpm -Uvh"
if you don't have an rpm based system, such as debian stuff, you can download the tarball.
should be easy to use, to launch it type "ddd" or "/usr/bin/ddd"
0
 

Author Comment

by:yingchunli
ID: 6275194
garboua,

I still have some problems with ddd. Say, I do not know how to open the source code file in the "Source window" after launching the ddd? (I have tried the "File->Open Source", but in the file-list there is no my source code files. What is going wrong with it?)
0
 
LVL 4

Expert Comment

by:newmang
ID: 6275653
Are you sure you have compiled the code with the debugging option on in the compiler (gcc -g -o output output.c)?

If you do the source code should appear when you open the binary file.
0
 
LVL 5

Expert Comment

by:garboua
ID: 6276596
that is correct, you should include the -g or -g2 flag when you compile.  debugger defalut is g2, so if you want Extra information use -g3
0
 

Expert Comment

by:shakashoya
ID: 6334443
would you please either accept on of the answers or delete the question.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now