chore: Explain how to add a backtrace in issue template

Signed-off-by: Michael Vetter <jubalh@iodoru.org>
This commit is contained in:
Michael Vetter
2026-04-13 13:12:28 +02:00
parent c071d6cf84
commit 741777d2c7

View File

@@ -35,6 +35,19 @@ assignees: ''
## Context
<!--- How has this issue affected you? What are you trying to accomplish? -->
## Backtrace
<!--- In case of a crash attach the backtrace. Otherwise delete this section -->
* Install gdb and gdbserver: For example on openSUSE `zypper in gdb gdbserver`
* Open two terminals.
* Terminal 1: Start gdbserver `gdbserver localhost:port path/to/profanity` e.g. `gdbserver localhost:1234 ./build_run/profanity`
* Terminal 2: Start gdb `gdb path/to/profanity` e.g. `gdb ./build_run/profanity`
* Terminal 2: Attach to server `target remote localhost:port` e.g. `target remote localhost:1234`
* Terminal 2: Enable logging to file `set logging enabled on` and `set logging file my.log`
* Terminal 2: Type `c`
* Terminal 1: Use profanity to reproduce the crash
* Terminal 2: Show the backtrace `bt` or `bt full`
* Copy the backtrace here, either from gdb or from your logfile (`my.log`)
## Environment
* Give us the version and build information output generated by `profanity -v`
* If you could not yet build profanity, mention the revision you try to build from