[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use DDD in a multi-threaded app.

From: shaunak saha
Subject: Re: How to use DDD in a multi-threaded app.
Date: Tue, 17 Mar 2009 19:48:33 +0530

DDD has capabities to deal with threads.
When your multiple thread spawning program is being run in ddd you can see the number of threads running in window:
And then you can switch to the thread you want to.
If your program is already running you can attach DDD to the running program and then again as i said above see the running threads for that application .Then switch to the thread you want to.
Hope this helps.

On Tue, Mar 17, 2009 at 3:06 AM, Aref Taidi <address@hidden> wrote:

Hello All,

How do you use DDD in a multi-threaded real-time Linux application?

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.

Is it possible to use ddd to set 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?



ddd mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]