home Mail List
Info
Info
Meetings
Goals
Upcoming
Projects
FAQ
Security
Links

[Date Prev][Date Next] [Chronological] [Thread] [Top]

[NMLUG] multi-thread debugger



Get Eclipse 3.0 + CDT 2.0 and make sure you are using the latest version 
of gdb.  Also, use -gdwarf-2 for the debugging format, it works better 
for C++ then many system's default choice of stabs+.

	chris


Aaron Birenboim wrote:
> I'm having a heck of a time finding a decent debugger
> for multi-threaded C++.
> 
> Both ddd and gvd seem to list "no threads".  odd.
> ddd stops on some signals, and needs to be re-started
> as threads are spawned, but I can't figgure out how
> to debug into the threads.  I'm using pthreads.
> 
> Any advice?
> I tried a gnome debugger....  inisght i think, but
> it crashed (it wouldn't even launch).
> I haven't tried to find out why.
> I used kdbg in the past, but on my Debian/woody-stable
> system I can't seem to figure out how to use it again.
> I can't even display a variable (or class's) value.
> At least gvd/ddd have the old-fashioned text window
> where I can say "print ClassVariableName" and see
> data memebers.
> 
> Any suggestions about what to try?



Please send sugestions and comments to webmaster@nmlug.org.
Valid XHTML 1.1! Valid CSS! Powered by Debian Powered by Apache