Re: How to use DDD in a multi-threaded app.
shaunak saha <[email protected]>
| Newsgroups | gmane.comp.debugging.ddd.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, 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: Status->threads. 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. Regards, Shaunak On Tue, Mar 17, 2009 at 3:06 AM, Aref Taidi <[email protected] > 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? > > Best, > > Aref > > > > > > _______________________________________________ > ddd mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/ddd > _______________________________________________ ddd mailing list [email protected] http://lists.gnu.org/mailman/listinfo/ddd