I don’t quite understand your question
but I would either like to attach to a running multi-threaded application or,
if it is easier, start the ddd and then run the application’s main
function which will spawn many threads. I would then like to put break points
in various threads.
From: atul jha
Sent: 14 March 2009 12:47
To: Aref Taidi
Cc: 'shaunak saha'; 'David
Subject: Re: RE: how do you start
first of all tell me Either You have to Initiating to DDD or not
On Sat, 14 Mar 2009 Aref Taidi wrote :
>How do you use DDD in a multi-threaded real-time Linux application? Is DDD
>really capable of setting break points in multiple threads in a real-time
>situation? I could even live with removing the real-time condition but need
>a multi-threading debug capability. What compiler switches do I need to use
>and which ones to avoid?
> From: address@hidden
>[mailto:address@hidden On Behalf Of
>Sent: 14 March 2009 06:34
>To: David Clarke
>Subject: Re: how do you start up DDD?
>In step 3 you said that did a "configure" and "make"
but no "make install"
>after that.To install the compiled programs(ddd) you need to give the
>command "make install".
>This will install the ddd binary in you /usr/local/bin.
>Also to verify you ddd binary is build properly, after doing a make you can
>do a "make check".This creates a sample C++ program `cxxtest' and
>DDD on it by invoking `./ddd cxxtest'.
>Hope this helps.
>2009/3/13 David Clarke <address@hidden>
>I followed the directions to install DDD on your web site to their end:
>1. Unpack the DDD source distribution
>2. Change into the ddd-version subdirectory
>3. Type ./configure; make
>and seemed to get a successful install. I then went to your user
>copied sample.c, compiled it, and typed ddd sample as instructed.
>the message I get:
>ddd: Command not found.
>Evidently, my configuring and making ddd within the Downloads directory
>(there were no directions to move it elsewhere) is insufficient. How
>make it so ddd is visible from any other directory where software to be
>debugged may reside?
>I am on a Macbook Pro. OS X 10.5.4 (Intel).
>The answer to this might be added to your instructions on the web site.
>David A. Clarke address@hidden
>Professor of Astronomy and Physics (902) 420-5830
>Institute for Computational Astrophysics (902) 496-8218 (fax)
>Saint Mary's University http://www.ica.smu.ca/zeus3d
>Halifax, NS, B3H 3C3
>ddd mailing list
>ddd mailing list