Computer Chess Club Archives


Search

Terms

Messages

Subject: Help with Release/Debug

Author: James Robertson

Date: 10:00:35 06/13/99


I have not compiled a debug version of my program in a long while, and while I
was testing my program yesterday discovered the disturbing fact that, while my
debug mode plays 1/2 the speed of the release mode, it plays better. In the past
when I have had bugs like this it was because I was accidentally overwriting an
array, and because of the mysterious way in which the compiler pads and adds
stuff to the debug version, the bug is often masked. I did some serious
debugging and found and fixed one bug, but two more are still eluding me and
need a more debugging.

My question is: could someone please provide me with some debug/release theory
under MSVC and what the differences are? It might really help me discover where
the other two bugs are.

Thanks!
James



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.