mirror of
https://github.com/vale981/bspwm
synced 2025-03-05 18:01:37 -05:00
Further instructions regarding gdb
This commit is contained in:
parent
39d6b65982
commit
40ba576685
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue