Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Debugging help requested

Author: Oliver Roese

Date: 12:56:15 07/12/01

Go up one level in this thread


On July 12, 2001 at 10:45:14, Rafael Andrist wrote:

>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.
>
It works in djgpp too.
I have seen it in professional code (Descent 1).

Oliver

>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.