On Mon, 2008-03-31 at 22:03 +0100, Leon Stringer wrote:

> Let's say in gtk/gtk_options.c I insert the following at line 144:
> 
>      printf("%d\n", proxytype);
> 
> I see nothing. Something like
> 
>      printf("test\n");
> 
> works fine. I realise this is elementary stuff but it's doing my head 
> in. Is printf() overridden somewhere? Is there some other strange thing 
> I don't know about?

I have no idea what might cause this: have you tried putting a fflush(stdout) 
after it?

Incidentally, we have our own debug logging macro, which you can call
thus:

        LOG(("%d\n", proxytype));

Note the double-brackets.  These will then output something when nsgtk
is launched with the -v flag, thus:

        NETSURFRES=./gtk/res ./nsgtk -v

Hope this helps.  Which issue are you referring to, and which BTS did
you log it on?

B.


Reply via email to