vfs: check userland buffers before reading them.
[haiku.git] / docs / userguide / hu / applications / debugger.html
blob16004121970d4e384f4c1417de279e11216e7d5c
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="hu" xml:lang="hu">
4 <head>
5 <!--
7 * Copyright 2015-2017, Haiku. All rights reserved.
8 * Distributed under the terms of the MIT License.
10 * Authors:
11 * Humdinger <humdingerb@gmail.com>
12 * Translators:
13 * Dancsó Róbert
14 * Humdinger
16 -->
17 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
18 <meta http-equiv="Content-Style-Type" content="text/css" />
19 <meta name="robots" content="all" />
20 <title>Hibakereső</title>
21 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
22 <link rel="stylesheet" type="text/css" href="../../Haiku-doc.css" />
23 </head>
24 <body>
26 <div id="banner">
27 <div><span>User guide</span></div>
28 </div>
30 <div class="nav">
31 <div class="inner">
32 <ul class="lang-menu">
33 <li class="now"><img src="../../images/flags/hu.png" alt="" /> Magyar</li>
34 <li><a href="../../ca/applications/debugger.html"><img src="../../images/flags/ca.png" alt="" />Català</a></li>
35 <li><a href="../../de/applications/debugger.html"><img src="../../images/flags/de.png" alt="" />Deutsch</a></li>
36 <li><a href="../../en/applications/debugger.html"><img src="../../images/flags/gb.png" alt="" />English</a></li>
37 <li><a href="../../es/applications/debugger.html"><img src="../../images/flags/es.png" alt="" />Español</a></li>
38 <li><a href="../../fr/applications/debugger.html"><img src="../../images/flags/fr.png" alt="" />Français</a></li>
39 <li><a href="../../it/applications/debugger.html"><img src="../../images/flags/it.png" alt="" />Italiano</a></li>
40 <li><a href="../../pl/applications/debugger.html"><img src="../../images/flags/pl.png" alt="" />Polski</a></li>
41 <li><a href="../../pt_PT/applications/debugger.html"><img src="../../images/flags/pt_PT.png" alt="" />Português</a></li>
42 <li><a href="../../pt_BR/applications/debugger.html"><img src="../../images/flags/pt_BR.png" alt="" />Português (Brazil)</a></li>
43 <li><a href="../../ro/applications/debugger.html"><img src="../../images/flags/ro.png" alt="" />Română</a></li>
44 <li><a href="../../sk/applications/debugger.html"><img src="../../images/flags/sk.png" alt="" />Slovenčina</a></li>
45 <li><a href="../../fi/applications/debugger.html"><img src="../../images/flags/fi.png" alt="" />Suomi</a></li>
46 <li><a href="../../sv_SE/applications/debugger.html"><img src="../../images/flags/sv_SE.png" alt="" />Svenska</a></li>
47 <li><a href="../../zh_CN/applications/debugger.html"><img src="../../images/flags/zh_CN.png" alt="" /> 中文 [中文]</a></li>
48 <li><a href="../../ru/applications/debugger.html"><img src="../../images/flags/ru.png" alt="" />Русский</a></li>
49 <li><a href="../../uk/applications/debugger.html"><img src="../../images/flags/uk.png" alt="" />Українська</a></li>
50 <li><a href="../../jp/applications/debugger.html"><img src="../../images/flags/jp.png" alt="" />日本語</a></li>
51 </ul>
53 <span>
54 « <a href="codycam.html">CodyCam</a>
55 :: <a href="../applications.html#list-of-apps" class="uplink">Applications</a>
56 :: <a href="deskcalc.html">DeskCalc</a> »
57 </span></div>
58 </div>
60 <div id="content">
61 <div>
62 <div class="box-info">The translation of this page isn't yet complete. Until it is, unfinished parts use the English original.</div>
64 <h2><img src="../../images/apps-images/debugger-icon_64.png" alt="debugger-icon_64.png" width="64" height="64" />Hibakereső (Debugger)</h2>
65 <table summary="layout" border="0" cellspacing="0" cellpadding="2">
66 <tr><td>Asztalsáv:</td><td style="width:15px;"></td><td><span class="menu">Programok</span></td></tr>
67 <tr><td>Útvonal:</td><td></td><td><span class="path">/boot/system/apps/Debugger</span></td></tr>
68 <tr><td>Bellítások:</td><td></td><td><span class="path">~/config/settings/Debugger settings</span><br />
69 <span class="path">~/config/settings/Debugger/</span></td></tr>
70 </table>
71 <p><br /></p>
72 <p>The Debugger is an application the common user hasn't much use for. It's targeted at developers to investigate bugs in programs. Sometimes those bugs result in crashes and that is when even end users come into contact with the Debugger. When a program crashes, you're confronted with this alert:</p>
73 <img src="../images/apps-images/debugger_alert.png" alt="debugger_alert.png" />
74 <p>It offers four options to react to the crash:</p>
75 <ul>
76 <li><p><span class="button">Terminate</span> will clean up after the crashed app but otherwise does nothing further.</p></li>
77 <li><p><span class="button">Debug</span> will start the Debugger for further investigation.</p></li>
78 <li><p><span class="button">Write core file</span> creates a possibly huge dump of the system's state. Better attach a regular debug report first when submitting a bug report and only provide a core file on request.</p></li>
79 <li><p><span class="button">Save report</span> creates a debug report which is saved as a text file on the Desktop and can be emailed to the developer of the crashed app or attached to a ticket at its bugtracker, if available.<br />
80 The debug report contains information on your hardware (type of CPU and used memory etc.), the exact version of Haiku and all available information on the state of the system that could be relevant to the crash.</p></li>
81 </ul>
82 <p>Describing the usage of the actual Debugger is out of scope for this guide that is addressing the needs of the common user of Haiku. For completeness sake, here's the window that'll come up if you choose the <span class="button">Debug</span> option in the above alert:</p>
83 <img src="../images/apps-images/debugger.png" alt="debugger.png" />
84 <p>As you'll quickly see when you start poking around a bit, the Debugger is one of the most complex and sophisticated applications for Haiku. If you're a developer and are used to graphical debuggers on other platforms, many features will be familiar to you.</p>
85 <p>Below are a few links that may shed some light on the intricacies of Haiku's Debugger. If you have a specific question, you may want to consider posting it on the <a href="http://www.freelists.org/list/haiku-development">development mailing list</a>. If you find more useful resources, please file a <a href="../../../welcome/en/bugreports.html">bugreport</a> with that info.</p>
86 <table summary="layout" border="0" cellpadding="2" cellspacing="0">
87 <tr><td class="onelinetop"><a href="https://www.dropbox.com/s/e6gx39r0asc2t8f/DebuggerReferenceManual.pdf?dl=1">Debugger Reference Manual</a></td><td></td><td>This is the most in-depth source on how to work with the Debugger.</td></tr>
88 <tr><td><a href="https://www.haiku-os.org/blog/anevilyak/">Blogposts</a></td><td> </td><td>There are a few articles on the Debugger, mostly by Rene Gollent after implementing a new feature.</td></tr>
89 <tr><td class="onelinetop"><a href="https://www.youtube.com/watch?v=n-NDFwtmQcI&amp;list=PL2KiE-VO9zk-9XPmfusEDaOFd_7AiVKzz">BeGeistert 026 video</a></td><td> </td><td>A video from the BeGeistert meeting in 2012, in which Ingo Weinhold demonstrates the state of the Debugger back then and shows other interesting tools like the profiler to hunt down bottlenecks.</td></tr>
90 <tr><td class="onelinetop"><a href="http://cgit.haiku-os.org/haiku/commit/?id=hrev46547">Default action when crashing</a></td><td> </td><td>This commit message describes how to change the behavior when something crashes. For example, you can have the system always save a crash report instead of asking the user by showing the usual crash alert. You can limit that behavior to specific applications.</td></tr>
91 </table>
93 </div>
94 </div>
95 <div class="nav">
96 <div class="inner"><span>
97 « <a href="codycam.html">CodyCam</a>
98 :: <a href="../applications.html#list-of-apps" class="uplink">Programok</a>
99 :: <a href="deskcalc.html">Számológép</a> »
100 </span></div>
101 </div>
102 </body>
103 </html>