I coded (with visual studio 2019 on windows 10) an ultra naive chess engine that complies with UCI engine interface rules. Before starting to develop it in more fancy ways, I want to make sure that I can debug my code via using my engine from a chess GUI. Hence I decided to debug it with Arena.
I tried the following two standard debugging methods :
In the properties of the project used to compile my engine I put (the path to) arena.exe in the command to execute when the debug is launched, and then, when debug is triggered and arena opened, I load in Arena a new engine corresponding to my engine, I put breakpoints in my code but each has a "no symbols loaded".
I launch Arena, I load a new engine in it, the engine being the compiled debug version of my engine, and then in visual studio I make an "attach to process" and add Arena as process to attach to. Then the breakpoints in my code in visual studio have also "no symbols loaded".
Am I missing something or not?
I am not sure if CSE is the most suitable place to post this question but I wanted to give it a try before maybe posting on gamedev.stackexchange.com.
Precision 1. I have the same problem if I take StockFish's source code, compile it in a console project in Visual Studio 2019 and try to do as explained above.
Precision 2. I also finally posted on SE here https://stackoverflow.com/questions/59687256/debugging-a-console-chessengine-exe-used-in-another-application-a-chess-gui