<HTML>
<HEAD>
   <TITLE>Linux Threads Home Page: How does one debug threads?</TITLE>
</HEAD>
<BODY BACKGROUND="GraySea.gif">

<P><FONT SIZE=+3>How does one debug threads?</FONT></P>

<P>Modula-3</P>

<UL>
<P>Modula-3 supports user-space thread breakpoints. For further help here,
please refer to the Modula-3 specifications.</P>
</UL>

<P>C/C++ (and anything compatible with gdb)</P>

<UL>
<P>Gdb supports children processes and threads equally (since they are
based on the task paradigm) if they do not share PIDs. Those threads which
share PIDs can be accessed using the good-old-fashioned printf debugging
(for now). (Can someone guide me on accessing specific processes within
gdb?)</P>
</UL>

<P><HR SIZE=4 WIDTH="100%"></P>
<CENTER><TABLE CELLSPACING=0 CELLPADDING=0 >
<TR>
<TD><A HREF="Languages.html"><CENTER><IMG SRC="ArrowLeft.gif" ALT="[Left Arrow]" BORDER=0 HEIGHT=40 WIDTH=40></CENTER></A></TD>
<TD><A HREF="index.html"><CENTER><IMG SRC="House.gif" ALT="[Home]" BORDER=0 HEIGHT=40 WIDTH=40></CENTER></A></TD>
<TD><A HREF="Dictionary.html"><CENTER><IMG SRC="BookSearch.gif" ALT="[Book Search]" BORDER=0 HEIGHT=40 WIDTH=40></CENTER></A></TD>
<TD><A HREF="mailto:walton@oclc.org"><CENTER><IMG SRC="MailBox.gif" ALT="[Mailbox]" BORDER=0 HEIGHT=40 WIDTH=40></CENTER></A></TD>
<TD><A HREF="AvoidZombies.html"><CENTER><IMG SRC="ArrowRight.gif" ALT="[Right Arrow]" BORDER=0 HEIGHT=40 WIDTH=40></CENTER></A></TD>
</TR>
<TR>
<TD><A HREF="Languages.html">[Previous Page]</A></TD>
<TD><A HREF="index.html">[First Page]</A></TD>
<TD><A HREF="Dictionary.html">[Dictionary]</A></TD>
<TD><A HREF="mailto:walton@oclc.org">[Email Author]</A></TD>
<TD><A HREF="AvoidZombies.html">[Next Page]</A></TD>
</TR>
</TABLE></CENTER>

</BODY></HTML>
