Author: Sune Fischer
Date: 06:51:11 05/28/02
Go up one level in this thread
On May 28, 2002 at 09:43:47, Peter Fendrich wrote:
>If I were you, I would at least put in something like:
>#ifdef _DEBUG
> if (ply >= MAXIMUM_PLY) printf("\nThis can't happen!\n");
>#endif
>
>Then at least you can easily trap crashes due to this impossible scenario.
>From my experience things happen not beacause the program
>does what I expect it to do but rather when it goes crazy... :)
>
>Peter
Well my debug macro is already very busy, I suppose I could make a
_PARANOID_SAFETY_EXTREME macro, just to catch these cases :)
-S.
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.