The translation of this page isn't yet complete. Until it is, unfinished parts use the English original.

debugger-icon_64.pngDebugger

Deskbar:Applications
Location:/boot/system/apps/Debugger
Settings:~/config/settings/Debugger settings
~/config/settings/Debugger/


调试器是一般用户不太会用得到的工具。它一般供开发者使用,来检查软件程序中的错误。有时,这些错误会导致软件崩溃,这时候,就算是一般用户也有可能接触到调试器。当一个程序崩溃了,会弹出这样一个对话框:

debugger_alert.png

对于崩溃的程序,可以采取四个动作:

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 Debug option in the above alert:

debugger.png

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.

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 development mailing list. If you find more useful resources, please file a bugreport with that info.

Debugger Reference ManualThis is the most in-depth source on how to work with the Debugger.
Blogposts There are a few articles on the Debugger, mostly by Rene Gollent after implementing a new feature.
BeGeistert 026 video 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.
Default action when crashing 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.