summaryrefslogtreecommitdiffstats
path: root/INSTALL.md
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 088a12d1..0a2705ff 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -141,3 +141,13 @@ Compile with debug symbols and no optimization
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
+```