1 <page xmlns="http://projectmallard.org/1.0/"
2 type="topic" style="task"
5 <info xmlns:facet="http://projectmallard.org/facet/1.0/">
6 <facet:tag key="all-pages" value="whatever"/> <!--Include page in index-->
7 <link type="guide" xref="debug-data" group="fifth"/>
8 <revision pkgversion="3.0" version="0.1" date="2011-03-27" status="incomplete"/>
12 <credit type="author">
13 <name>Sébastien Granjoux</name>
14 <email>seb.sfo@free.fr</email>
16 <credit type="editor">
17 <name>Philip Chimento</name>
18 <email>philip.chimento@gmail.com</email>
22 <title>Threads</title>
25 <title>List threads</title>
27 <p>A program can be composed of several threads. All these threads are
28 executed independently, having their own registers, stack and local
29 variables, but sharing global variables.</p>
33 <p>From the <gui>main menu</gui>, select <guiseq><gui>View</gui>
34 <gui>Thread</gui></guiseq> to open the <gui>Thread</gui>
39 <p>The window shows the following information about each thread:</p>
44 <p>This contains a yellow arrow that points to the active thread.</p>
48 <p>This is a number corresponding to each thread.</p>
52 <p>The name of the file containing the function corresponding to
53 the current frame of the current thread.</p>
57 <p>The line number of the function corresponding to the current
58 frame of the current thread.</p>
61 <title>Function</title>
62 <p>The name of the function corresponding to the frame of the
66 <title>Address</title>
67 <p>The address of the function corresponding to the frame of the
75 <title>Change current thread</title>
77 <p>The current thread is the thread whose stack and local variables are
78 currently displayed in the debugger.</p>
82 <p>In the <gui>Thread</gui> window, select the thread you want.</p>
85 <p>Right-click and select <gui>Set current thread</gui>.</p>
92 <title>View current function</title>
96 <p>In the <gui>Thread</gui> window, select the thread you want.</p>
99 <p>Double-click, or right-click and select <gui>View Source</gui>.</p>