crashes: add debug stacktrace instructions

This commit is contained in:
Vaxry 2024-05-01 19:52:34 +01:00
parent 23cb8d9820
commit 4ffb8fe4e3
1 changed files with 11 additions and 0 deletions

View File

@ -49,6 +49,17 @@ Diagnose the issue by what is in the log:
Report an issue on GitHub or on the Discord server.
## Obtaining a debug stacktrace
Systemd-only.
Build hyprland in debug (`make debug`) and run. Get it to crash. Then, in a tty or terminal, do
`coredumpctl debug Hyprland`.
If gdb asks you for symbols, say `y`, if it asks about paging, say `c`.
Once you get to `(gdb)`, run `bt -full` and post the output.
## Bugs
First of all, **_READ THE [FAQ PAGE](../FAQ)_**