Further instructions regarding gdb

This commit is contained in:
Bastien Dejean 2012-12-19 14:42:19 +01:00
parent 39d6b65982
commit 40ba576685

View file

@ -26,10 +26,14 @@ If you use `systemd`, X might be started on the same virtual terminal as `bspwm`
The debug messages are generated by the `PRINTF` and `PUTS` macros.
If you want to use [`gdb`][5], switch to a free virtual terminal, e.g. *Ctrl-Alt-F2* and issue:
```
gdb bspwm $(pgrep -x bspwm)
continue
```
Then, go back to the virtual terminal holding X. If `bspwm` crashes, go back to the virtual terminal where you launched `gbd`: you might find clues there.
[1]: http://cm.bell-labs.com/cm/cs/cbook/
[2]: http://www.x.org/releases/X11R7.5/doc/libxcb/tutorial/
[3]: http://git-scm.com/documentation