Darren Cook wrote:
> You know you can output internal data to stderr and gogui will pick it
> up and show it in the shell window?

Yes; I use the stderr output feature extensively. In fact, GoGui can be 
extended via customizable analyze commands via GTP, which among other things, 
can display graphics (squares, circles, text, etc). [Thanks Markus Enzenberger 
for such a great program!] 

But there are only two drawbacks with this approach. One, it only works as a 
result of a customized GTP command. Sometimes I want it to display debugging 
information data while the GTP command is still executing (or maybe as an 
addition to an existing GTP command). Two, it's not interactive - it doesn't 
have any ability to ask simple questions, "Yes | No", etc. The first I think 
would be easy to add to GoGui, if it would "listen" to the stderr and given a 
trigger string, response type (plist, gfx, etc) and data it could display that 
immediately in the GUI. The second probably isn't possible since the stderr is 
output only and not bi-directional.

> Or did you mean it is too much bother to connect with gogui while also
> running your code in a debugger?

That would be great! How do you do that (without going through a million 
zillion steps each time)? I use Visual Studio. 

Phil
_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

Reply via email to