summaryrefslogtreecommitdiffstats
path: root/INSTALL.md
diff options
context:
space:
mode:
authorQC <qball@gmpclient.org>2015-03-28 17:04:34 +0100
committerQC <qball@gmpclient.org>2015-03-28 17:04:34 +0100
commita083e21a6bf0d8f5e91b302a5033d1da5043145a (patch)
tree467be844c5c92df695f9f3c4ffbb6d67cb17181e /INSTALL.md
parent888260b06b1f00b928cb1934eb353c6567c44938 (diff)
Add backtrace.
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
+```