[oclug] debugging using ddd

Bart Trojanowski bart at nexus.carleton.ca
Thu Feb 1 23:39:39 EST 2001


OK, another dumb question... you are doing pthread_create and not fork
right?

Bart.

On Thu, 1 Feb 2001, Greg Sarsons wrote:

> Well for the number of dumb things I've done -ggdb was a fair question
> but I had that flag.  As for the single thread, ie the main I can debug
> that.  I can run the program in a terminal and can see my thread is
> working ok but using ddd I can't seem to figure it out.
>
> Noticed the thread option window but I only see one thread, the main.
>
> Greg
>
> Bart Trojanowski wrote:
> >
> > Hey Greg, how is life?
> >
> > Well, I am sure that ddd can debug [p]threaded apps.  Just a dumb
> > question, did you use -ggdb in your CFLAGS?
> >
> > Can you successfuly debug a single thread?
> >
> > Bart.
> >
> > On Thu, 1 Feb 2001, Greg Sarsons wrote:
> >
> > > I'm writing a threaded program that creates sockets but I haven't
> > > succeeded in being able to use ddd to debug it.  I can set break points
> > > but ddd just seems to ignore them.
> > >
> > > Awaiting words of wisdom from the list .....
> > >
> > > Greg
> > >
> > >
> >
> > --
> >         WebSig: http://www.jukie.net/~bart/sig/
> >
> > _______________________________________________
> > oclug mailing list
> > oclug at lists.oclug.on.ca
> > http://www.oclug.on.ca/mailman/listinfo/oclug
>
>

-- 
	WebSig: http://www.jukie.net/~bart/sig/





More information about the OCLUG mailing list