[computer-go] Interesting Test Position (for UCT)
Darren Cook
darren at dcook.org
Thu Jul 12 16:18:02 PDT 2007
>> 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.
Can Visual Studio connect to a running process?
On linux you'd do something like:
1. Start gogui
2. Start your program
3. Use ps | grep your_program_name to find the PID
4. gdb your_program_name its_PID
(Not tested.)
I find debuggers unsuitable for go - it is too hard to set breakpoints
saying "stop here when you are at depth ply 17 and the move A5 was
played at ply 13". So I usually use a debug log where I output variable
values and ascii board positions.
Darren
More information about the computer-go
mailing list