doc/user.rst: add information about debug build

This commit is contained in:
Max Kellermann 2018-11-06 22:38:24 +01:00
parent 98985c03b0
commit 0464028872
1 changed files with 4 additions and 0 deletions

View File

@ -969,6 +969,10 @@ A crash bug report needs to contain a "backtrace".
First of all, your :program:`MPD` executable must not be "stripped" (i.e. debug information deleted). The executables shipped with Linux distributions are usually stripped, but some have so-called "debug" packages (package mpd-dbg or mpd-dbgsym on Debian, mpd-debug on other distributions). Make sure this package is installed.
If you built :program:`MPD` from sources, please recompile with Meson
option ":code:`--buildtype=debug -Db_ndebug=false`", because this will
add more helpful information to the backtrace.
You can extract the backtrace from a core dump, or by running :program:`MPD` in a debugger, e.g.:
.. code-block:: none