Cannot start CMake Debugger

Sysprogs forums Forums VisualGDB Cannot start CMake Debugger

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #32276
    quag
    Participant

    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>

    #32280
    support
    Keymaster

    Hi,

    Debugging CMake files requires building our fork of CMake and will not work with the regular builds. Please refer to this page for more details.

    #32284
    quag
    Participant

    I see, thanks for the quick reply!

    <audio style=”display: none;” controls=”controls”></audio>

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.