mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Add backtrace.
This commit is contained in:
parent
888260b06b
commit
a083e21a6b
1 changed files with 10 additions and 0 deletions
10
INSTALL.md
10
INSTALL.md
|
@ -141,3 +141,13 @@ Compile with debug symbols and no optimization
|
||||||
make CFLAGS="-O0 -g3" clean rofi
|
make CFLAGS="-O0 -g3" clean rofi
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Get a backtrace
|
||||||
|
|
||||||
|
Getting a backtrace using GDB is not very handy. Because if rofi get stuck, it grabs keyboard and
|
||||||
|
mouse. So if it crashes in GDB you are stuck.
|
||||||
|
The best way to go is to enable core file. (ulimit -c unlimited in bash) then make rofi crash. You
|
||||||
|
can then load the core in GDB.
|
||||||
|
|
||||||
|
```
|
||||||
|
gdb rofi core
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue