I've almost finished the first version of a basic chess engine in Go, which implements UCI for communication. However, I'm running into an annoying sporadic crash when playing games against it, which SCIDvsPC reports as "The UCI engine terminated with error code: "" ".
Is there an alternate interface which will show me the logs of communication between the interface and the engine, so that I can see any error messages on the crash? I can't reproduce the bug without using the interface, typing commands directly never seems to crash it.
Debugging UCI engine
Moderators: hgm, Rebel, chrisw
-
- Posts: 12541
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Re: Debugging UCI engine
Inbetween:kdelwat wrote:I've almost finished the first version of a basic chess engine in Go, which implements UCI for communication. However, I'm running into an annoying sporadic crash when playing games against it, which SCIDvsPC reports as "The UCI engine terminated with error code: "" ".
Is there an alternate interface which will show me the logs of communication between the interface and the engine, so that I can see any error messages on the crash? I can't reproduce the bug without using the interface, typing commands directly never seems to crash it.
http://komodochess.com/remote-engine.htm
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
-
- Posts: 12541
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Re: Debugging UCI engine
Besides using inbetween, you can also use Arena and turn debug logs on. It will record the entire uci conversation
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
-
- Posts: 2
- Joined: Sun Jan 14, 2018 12:56 am
Re: Debugging UCI engine
Arena is perfect, thanks so much!