Re: How to Debug an OpenBox programming change?

Jim Rees <[email protected]>
Newsgroups gmane.comp.window-managers.openbox
Message-ID <[email protected]>
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
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.