Preklad tejto stránky zatiaľ nie je dokončený. Dovtedy sa nedokončené časti zobrazia v anglickom origináli.

debugger-icon_64.pngDebugger

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


The Debugger is an application the common user hasn't much use for. It's targetted at developers to investigate bugs in programs. Sometimes those bugs result in crashes and that is where even end users come into contact with the Debugger. When a program crashes, you're confronted with this alert:

debugger_alert.png

It gives three options to react to the crash:

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 application for Haiku. If you're a developer and are used to graphical debuggers on other platforms, many features will be familiar to you.

As there's not a single document explaining the intricacies of Haiku's Debugger, below are a few links that may shed some light. 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.

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.