Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Debugging help requested

Author: Gian-Carlo Pascutto

Date: 10:36:12 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.
>
>If you can reproduce the bug in debug mode, you will find the bug easily, and do
>not need these tricks.

I can reproduce the bug in debug mode, but this does not help me at
all...As I said, the debugger just reports garbage.

Your first method may be interesting though. I think I will try it
and see if something strange happens.

--
GCP



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.