Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Debugging help requested

Author: Rafael Andrist

Date: 07:45:14 07/12/01

Go up one level in this thread


I can only tell how I debug such strange bugs in my program:
- I write down to harddisk (file appending) each variation in the search. That
is very time expensive - about 10 times lower -, but this way I can find the
exact position where the problem occurs.
- I include several "__asm int 3" instructions in the code to isolate the
crucial part of the code. This works like setting stop points in debug mode. But
this is a feature of MSVC, I don't know how it works in other development
porgrams.

If you can reproduce the bug in debug mode, you will find the bug easily, and do
not need these tricks.

Rafael B. Andrist



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.