Hi!
On Wed, Dec 22, 2010 at 08:55:09PM +0000, Darren Cook wrote:
> > Is there any simple way to make gogui and debug prints go well
> > together? I'd like to start using gogui more when debugging Pachi, but
> > I'm not sure how to display Pachi's debugging prints within gogui. It
> > even (inexplicably) silences Pachi's stderr so I cannot watch them in
> > gogui's terminal...
>
> Windows or linux? At least on Linux, just write to stderr should work.
> (I think stderr is unbuffered by default, and I don't have any explicit
> flush calls in my code; I do make sure of the "\n" at the end of each
> line though.)
> (Actually I do flush stderr and stdout at the end of the main loop,
> after processing each command; but I don't think I need to.)
So is it expected that program's stderr output appears on gogui's
stderr output? Since that's certainly not what I'm seeing and I never
saw gogui behave that way on any system (though I'd certainly wish it
very much to do this).
Didn't you have to do any special setup to achieve this? What's your
Java version?
--
Petr "Pasky" Baudis
Computer science education cannot make an expert programmer any more
than studying brushes and pigment can make an expert painter. --esr
_______________________________________________
Computer-go mailing list
[email protected]
http://dvandva.org/cgi-bin/mailman/listinfo/computer-go