crashes: add debug stacktrace instructions

This commit is contained in:
Vaxry 2024-05-01 19:52:34 +01:00
parent 23cb8d9820
commit 4ffb8fe4e3

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. 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 ## Bugs
First of all, **_READ THE [FAQ PAGE](../FAQ)_** First of all, **_READ THE [FAQ PAGE](../FAQ)_**