Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: C++ coding question. (OT)

Author: Francesco Di Tolla

Date: 07:26:18 07/13/04

Go up one level in this thread


On July 13, 2004 at 08:59:12, Tor Lattimore wrote:

>Hi.
>Occasionally I might be running my program and it will simply stop and the
>console will disappear with 'an illegal operation has been performed'. Is there
>a way to see what sort of error caused the problem? It would be most usefull if
>I could know whether it was div by 0, reading past the end of an array, or
>recursing too many times.
>Thanks for your help
>Tor

ever run  you program in a debugger? If you have Visual C just run from inside
it. If you use gcc, there is gdb the gnu debugger.




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.