<div dir="ltr">Generally I use Xephyr if I need to use gdb on openbox.<div><br></div><div>Openbox logs also go to ~/.cache/openbox/openbox.log by default.</div><div><br></div><div>--help lists all the options to turn on debug output.</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 26, 2013 at 3:12 PM, Jim Rees <span dir="ltr"><<a href="mailto:rees@umich.edu" target="_blank">rees@umich.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I've got this in my .xsession:<br>
<br>
if (-f openbox.log && -x src/openbox/$CPU/openbox/.libs/openbox) then<br>
  exec src/openbox/$CPU/openbox/.libs/openbox --debug >>openbox.log<br>
<br>
So if I have a log file in my home directory, then openbox gets started with<br>
--debug and sends its output to the log file. If you don't use .xsession I<br>
don't know how you'd do this but there must be a way.<br>
<br>
You can also run gdb on openbox from another console or ssh session but it's<br>
a bit of a pain and I haven't found I need it very often.<br>
_______________________________________________<br>
openbox mailing list<br>
<a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
</blockquote></div><br></div>