Computer Chess Club Archives


Search

Terms

Messages

Subject: debugging question

Author: Uri Blass

Date: 08:56:38 08/13/03


There are cases when I make changes that are not supposed to change
a single global varaible(the changes can be only for speed or only some
preperation for another change because new function that I write may be used
later in a different way).

I need for debugging purposes a function that put all
global varaibles to a file and a function that compares
the content of this file with the content of another
file that is supposed to be the same.

Is there a simple way to do it or do I need for every global array that I have
to write a loop and for every varaible to write a special command.

I prefer if there is some general solution(otherwise everytime that I add
a new global varaible or delete a global varaible I also need to change the
function).

Uri



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.