<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="debug-thread" xml:lang="de">

  <info xmlns:facet="http://projectmallard.org/facet/1.0/">
    <facet:tag key="all-pages" value="whatever"/> <!--Include page in index-->
    <link type="guide" xref="debug-data" group="fifth"/>
    <revision pkgversion="3.0" version="0.1" date="2011-03-27" status="incomplete"/>
    <desc>
      Examine threads.
    </desc>
    <credit type="author">
      <name>Sébastien Granjoux</name>
      <email>seb.sfo@free.fr</email>
    </credit>
    <credit type="editor">
      <name>Philip Chimento</name>
      <email>philip.chimento@gmail.com</email>
    </credit>
  </info>

  <title>Threads</title>

  <section>
    <title>List threads</title>

    <p>Ein Programm kann aus mehreren Threads bestehen. Alle diese Threads werden unabhängig voneinander ausgeführt, mit eigenen Registern, Stacks und lokalen Variablen, aber mit gemeinsamen globalen Variablen.</p>

    <steps>
      <item>
        <p>Wählen Sie <guiseq><gui>Datei</gui><gui>Thread</gui></guiseq>, um das <gui>Thread-Fenster</gui> zu öffnen.</p>
      </item>
    </steps>

    <p>Das Fenster zeigt die folgenden Informationen zu jedem Thread an:</p>

    <terms>
      <item>
        <title>Aktiv</title>
        <p>Ein gelber Pfeil zeigt hier auf den aktiven Thread.</p>
      </item>
      <item>
        <title>ID</title>
        <p>Eine Nummer, korrespondierend zu jedem Thread.</p>
      </item>
      <item>
        <title>Datei</title>
        <p>The name of the file containing the function corresponding to
        the current frame of the current thread.</p>
      </item>
      <item>
        <title>Zeile</title>
        <p>The line number of the function corresponding to the current
        frame of the current thread.</p>
      </item>
      <item>
        <title>Funktion</title>
        <p>The name of the function corresponding to the frame of the
        current thread.</p>
      </item>
      <item>
        <title>Adresse</title>
        <p>The address of the function corresponding to the frame of the
        current thread.</p>
      </item>
    </terms>

  </section>

  <section>
    <title>Change current thread</title>

    <p>The current thread is the thread whose stack and local variables are
    currently displayed in the debugger.</p>

    <steps>
      <item>
        <p>In the <gui>Thread</gui> window, select the thread you want.</p>
      </item>
      <item>
        <p>Right-click and select <gui>Set current thread</gui>.</p>
      </item>
    </steps>
  </section>


  <section>
    <title>View current function</title>

    <steps>
      <item>
        <p>In the <gui>Thread</gui> window, select the thread you want.</p>
      </item>
      <item>
        <p>Double-click, or right-click and select <gui>View Source</gui>.</p>
      </item>
    </steps>
  </section>


</page>
