Clion breakpoint not triggered debugging no response to solve the problem

When using clion to debug C + + code, there is no response when debugging after adding breakpoints, and breakpoints are not triggered. After checking some materials, we found that there was a problem. When compiling, we need to set the debug mode in cmakelists. The solution is to add the following code to cmakelists:

set(CMAKE_BUILD_TYPE Debug)

When recompiling and debugging, breakpoints can be triggered normally.

Read More: