Solved

Get DDD working for linux

Posted on 2001-07-10
5
293 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
OwnCloud Development and/or customization.. 19 1,127
running two linux commands sequentially in background 16 49
Problem to telnet 23 165
linux $PWD 2 656
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

766 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