[openbox] How to Debug an OpenBox programming change?

Dana Jansens danakj at orodu.net
Tue Nov 26 15:19:46 EST 2013

Generally I use Xephyr if I need to use gdb on openbox.

Openbox logs also go to ~/.cache/openbox/openbox.log by default.

--help lists all the options to turn on debug output.

On Tue, Nov 26, 2013 at 3:12 PM, Jim Rees <rees at umich.edu> wrote:

> I've got this in my .xsession:
> if (-f openbox.log && -x src/openbox/$CPU/openbox/.libs/openbox) then
>   exec src/openbox/$CPU/openbox/.libs/openbox --debug >>openbox.log
> So if I have a log file in my home directory, then openbox gets started
> with
> --debug and sends its output to the log file. If you don't use .xsession I
> don't know how you'd do this but there must be a way.
> You can also run gdb on openbox from another console or ssh session but
> it's
> a bit of a pain and I haven't found I need it very often.
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20131126/1d526f51/attachment.html>

More information about the openbox mailing list