Re: How to Debug an OpenBox programming change?

Dana Jansens <[email protected]>
Newsgroups gmane.comp.window-managers.openbox
Message-ID <CAP1a_adtOeM7eRbrEDxWRNTA4zGYOt7xqqT0FjkZHw0zPXnEQg@mail.gmail.com>
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 <[email protected]> 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
> [email protected]
> http://icculus.org/mailman/listinfo/openbox
>

_______________________________________________
openbox mailing list
[email protected]
http://icculus.org/mailman/listinfo/openbox
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.