Mark English and German manual pages as UTF-8.
[kdbg.git] / kdbg / doc / en / threads.html
blobfd1470a5ec3b682793d49ca1ffcac0ebb42de6f8
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <meta name="Author" content="Johannes Sixt">
6 <title>KDbg - User's Manual - Threads</title>
7 </head>
8 <body text="#000000" bgcolor="#FFFFFF">
9 <p><a href="index.html">Contents</a></p>
10 <h1>
11 The Threads Window</h1>
12 <p>The threads window is displayed using <i>View|Threads</i>. The threads
13 window lists the active threads of the program.</p>
14 <p><b><i>Note:</i></b> Debugging threaded programs must be supported by
15 the version of gdb that is used - it is not a feature of KDbg. For Linux
16 systems this works best with gdb5 and later. However, at the time of this writing gdb
17 still poorly supports threads on NPTL- (New Posix Threads Library) enabled
18 systems (glibc 2.3.x and kernel 2.6.x).</p>
19 <p>The contents of the threads window are updated every time the program
20 is stopped by the debugger. (That is, the window does <em>not</em> reflect
21 the state while the program is running.)</p>
22 <p>The first column shows the thread ID, the second column identifies the
23 location where the thread currently executes.</p>
24 <p>The marker in front of the line tells which thread currently is <em>active</em>:</p>
25 <ul>
26 <li>
27 The <a href="stack.html">stack window</a> displays the active threads's
28 backtrace.</li>
30 <li>
31 The <a href="localvars.html">local variables</a> window displays the active
32 thread's local variables.</li>
34 <li>
35 The <a href="watches.html">watch window</a> uses the active thread's local
36 variables to evaluate the expressions.</li>
37 </ul>
38 <p>By clicking a listed thread, the active thread is switched, and the corresponding
39 windows are updated. In particular, the <a href="sourcecode.html">source
40 window</a> displays the location where the active thread is currently halted.</p>
41 </body>
42 </html>