Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Debugging ====== This page is the starting point for everything that relates to debugging. The intend is to collect everything we need to remember or need to know in a single place to make sure that support for debugging processes as well as kernels becomes well-supported and bug-free in the future. ===== Main Topics ===== * [[https://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html|Developer Handbook - Kernel Debugging]] * [[lldb|LLDB debugger]] * [[DTrace]] ===== External Resources ===== * [[http://www.bsdcan.org/2008/schedule/attachments/45_article.pdf|BSDCan 2008: Introduction to Debugging the FreeBSD Kernel]] by JohnBaldwin * [[http://www.lemis.com/grog/Papers/Debug-tutorial/|Kernel debugging class (Slides & Tutorial)]] by Greg Lehey (2006) * [[https://people.freebsd.org/~syrinx/presentations/FreeBSD-debugging-draft.pdf|FOSDEM 2010: Debugging the FreeBSD kernel for dummies]] by ShteryanaShopova * [[https://software.intel.com/sites/default/files/profiling_debugging_freebsd_kernel_321772.pdf|Profiling and Debugging the FreeBSD Kernel (2009)]] by Ray Kinsella (IntelĀ® Software) ===== Alternative Debuggers ===== * [[http://lldb.llvm.org/|LLDB]] is a debugger based on LLVM and CLANG under a "BSD-style" license. * Pathscale's [[http://www.pathscale.com/docs/pathdb.html|PathDB]] was ported to %%FreeBSD%% and it's available on [[https://github.com/path64/debugger|github]] * The Solaris Modular Debugger [[http://src.illumos.org/source/xref/illumos-gate/usr/src/cmd/mdb/|MDB]] would be an interesting port due to it's [[http://wikis.sun.com/display/DTrace/Postmortem+Tracing|Dtrace support]]. debugging.txt Last modified: 2021/04/25 04:56by KubilayKocak