Author: J. Wesley Cleveland
Date: 10:05:28 01/08/03
Go up one level in this thread
On January 08, 2003 at 11:58:35, JW de Kort wrote: >Hi Friends, > >I'am puzzled by the behaviour of my hashtable. I use 0x88 and at a certain piont >the move B6-I3 is retrieved from this table. The strange thing is that this move >cannot be generated and is also never stored in the table (i have checked this). >Still it is retrieved. I'am completely puzzled by this. > >I know it is impossible to solve this kind problems without further information, >but i know the hashtable is notorious for it's debugging so i hoped that some of >you guys could give me a hint at what to look for. I see three possibilities. 1. You are storing this in the hash table (but you say you checked this one). 2. You are retrieving this value without storing it. If you can create this in your debugger, put a conditional breakpoint on the statment that retrieves the move from the hash table when the move = B6-I3. Check that your hash key is valid, that the table entry is valid, and that it was properly initiallized. If one of these is wrong, you heve found your problem, otherwise 3. You are accidentally storing a value in your hash table. Recreate the problem several times, and watch which table entry it is. If it is the same, set a data changed breakpoint on the address of the move data in the table entry, run it and wait for B6-I3 to be written.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.