What CLion version has CMake Debugger, how to access?
Answered
I read that it's in EAP 2022.3 build 223.7255.15.
I'm running 2022.3.2 build 223.8617.54; does that not contain CMake Debugger?
The instructions say it's accessible from gutter icon, but all I see is to debug the program, not the CMake itself.
Thanks for any guidance.
Please sign in to leave a comment.
Hello!
>The instructions say it's accessible from gutter icon, but all I see is to debug the program, not the CMake itself.
You need to open the top-level CMakeLists.txt, the gutter icon will be located next to the first command in this top-level CMakeLists.txt.
Thank you for your response. As it turns out, one must place a breakpoint in the CMakeLists.txt, or it just reloads it and doesn't automatically stop at the 1st instruction. This is different behaviour from the VisualGDB CMake Debug on which CLion says theirs is based.
But, in any case, I really like CLion and will definitely be using it from now on.