Help! SnailChess Debug problem

Programming Topics (Computer Chess) and technical aspects as test techniques, book building, program tuning etc

Moderator: Andres Valverde

Help! SnailChess Debug problem

Postby Chan Rasjid » 28 Dec 2005, 18:24

Hello,

I need help - winoldap ?

I am now making basic design changes in SnailChess and have
completed the basic program that plays w/o bugs with winboard win 98 with a P4 1.4 Ghz. It is compiled with Visual C++ 4.0.

With winboard, it behaves normally in either release/debug mode. It can run in console debug mode in self autoplay, printing +-+-+-... until game end. In autoplay, just , it behaves abnormally as it never happened before - it runs extremely slowly. I have to wait an exceptionally long time before it completes a game. What happens is something "winoldap" which I have never seen before, always run together as a background task whenever autoplay console is run. Changing my compilation settings does not help.

I now find debugging difficult. Does anyone know what is happenning.
Is it "winoldap"

Thanks
Rasjid
Chan Rasjid
 
Posts: 73
Joined: 23 Feb 2005, 16:36
Location: Singapore

Re: Help! SnailChess Debug problem

Postby Rémi Coulom » 28 Dec 2005, 22:12

Chan Rasjid wrote:Hello,

I need help - winoldap ?

I am now making basic design changes in SnailChess and have
completed the basic program that plays w/o bugs with winboard win 98 with a P4 1.4 Ghz. It is compiled with Visual C++ 4.0.

With winboard, it behaves normally in either release/debug mode. It can run in console debug mode in self autoplay, printing +-+-+-... until game end. In autoplay, just , it behaves abnormally as it never happened before - it runs extremely slowly. I have to wait an exceptionally long time before it completes a game. What happens is something "winoldap" which I have never seen before, always run together as a background task whenever autoplay console is run. Changing my compilation settings does not help.

I now find debugging difficult. Does anyone know what is happenning.
Is it "winoldap"

Thanks
Rasjid


Your compiler looks extremely old. winoldap means it generated a DOS program, I believe (http://www.liutilities.com/products/wintaskspro/processlibrary/winoldap/).
I am not sure if it would cure your other problems, but you should find a more recent compiler. There is free version of Microsoft Visual C++ that is much more recent (Visual C++ toolkit 2003). You could also try mingw or, if you prefer to have a gui, dev-c++ (http://www.bloodshed.net/devcpp.html)

R?mi
Rémi Coulom
 
Posts: 96
Joined: 12 Nov 2004, 13:47
Location: Lille, France

My Coding Bug

Postby Chan Rasjid » 29 Dec 2005, 10:17

Thanks Remi,

The real bug is not "winoldap" but just missing a post increment operator -
nGameMove++. So this is just ( chess ) programming and this little one thing can sometimes casue a real headache.

I have dev-c++, but my old Visual C++ is good for development purposes
with full help facilities. I will seek good compilations when my program is
to be released.

Best Regards
Rasjid
Chan Rasjid
 
Posts: 73
Joined: 23 Feb 2005, 16:36
Location: Singapore


Return to Programming and Technical Discussions

Who is online

Users browsing this forum: No registered users and 38 guests