www.delorie.com/gnu/docs/gnugo/gnugo_63.html   search  
 
Buy GNU books!


GNU Go Documentation

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.5 GTP and GDB techniques

You can use the Go Text Protocol (see section 20. The Go Text Protocol) to determine the statuses of dragons and other information needed for debugging. The GTP command dragon_data P12 will list the dragon data of the dragon at P12 and worm_data will list the worm data; other GTP commands may be useful as well.

You can also conveniently get such information from GDB. A suggested `.gdbinit' file may be found in See section 14.9 Debugging the reading code. Assuming this file is loaded, you can list the dragon data with the command:

 
(gdb) dragon P12

Similarly you can get the worm data with worm P12.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003