Hi, I am following this tutorial https://visualgdb.com/tutorials/cmake/debugger/ to debug cmake script.
However, when I right-click the “Launch CMake Debugger”, first I get the warning: “Stepping through CMake scripts requires building CMake with Sysprogs extensions. Do you want to see the detailed instructions?”
Then I get the error “Debugging fialed. VisualGDB has encountered a problem while starting debugging: No such host is known”. And no more details is available.
For sysprogs extesion, the warning msg directs me to the link https://visualgdb.com/documentation/cmake/annotations/, but in the link it says “Install original CMake 3.14 or later” for which I checked the CMake version in WSL is 3.16 and in Windows is 3.21. Besides, it says in the link “If you are building your projects on Windows, VisualGDB will automatically install and use the advanced CMake build.”.
Any help is appreciated!
I am using Visual Studio 2019 under Windows 10, WSI as backend.
<audio style=”display: none;” controls=”controls”></audio>