On Wed, Jun 9, 2010 at 10:01 PM, Kris Maglione <[email protected]> wrote:
> On Wed, Jun 09, 2010 at 12:50:06PM -0700, Gene Auyeung wrote:
>>
>> Hi,
>>
>> For a while I've been frustrated when I close a surf window, it takes
>> down the process that created it, along with all windows of that
>> process.  For clicking a link in gmail will open a new window, and
>> closing that window sometimes closes the parent window as well.  Today
>> I had some time to insert printfs into surf.c to find out what's going
>> on.
>
> Why don't you just use gdb (apart from the fact that surf doesn't build with
> debugging information by default)?
>
Apart from not knowing how to use gdb beyond the basics, surf's code
is clean/simple enough that printing debug statements work.  But yes,
good suggestion.

> --
> Kris Maglione
>
> Every program has (at least) two purposes: the one for which it was
> written, and another for which it wasn't.
>        --Alan J. Perlis
>
>
>

Reply via email to