This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: [PATCH] Re: pthread
- To: "Cygx \(E-mail\)" <cygwin-xfree at sources dot redhat dot com>
- Subject: RE: [PATCH] Re: pthread
- From: "Harold Hunt" <huntharo at msu dot edu>
- Date: Thu, 19 Apr 2001 10:42:29 -0400
Why not use gdb to set breakpoints and step through the code? That's what
Pierre Humblet and I did to find the crashing and freezing bugs.
First launch gdb with the graphical environment:
gdb XWin
Within gdb, open the console (Ctrl+N):
break Function1
break Function2
run -screen 0 640x480x16 -from foo.host.org -query bar.host.org
Start stepping with (S) or nexting with (N) when you reach a breakpoint.
>From there you only have about two weeks until you'll find the bug :)
Okay okay, you guys probably already knew how to do this, but I felt like
writing it down somewhere for my own and other's reference :)
Harold