Clion
I am trying to use Clang/LLVM 9.0.0 binaries with mingw-w64 (8.1.0) for x86_64 with Clion 2019.2.5 on Windows 10.
So far, everything works well. Except the debugger: every break point is ignored and I cannot stop program execution. Debugging behaves exactly like running the program, with a single difference: the debug console opens.
My breakpoints can be found in the breakpoint window, and changes in the code are reflected in the output.
I have tried setting every CMake flag I could find in every blog post (and removed them without effect). The generated run configurations are explicitly set to `debug`.
I have installed mingw-w64 in multiple possible configurations, as well as invalidated the clion caches and restarted. I rebooted multiple times, just in case.
This is a screenshot of my toolchain configuration:

The same issue appears for a colleague with a similar setup, but entirely different hardware, running different code.
Any ideas?
请先登录再写评论。
Interestingly, break points work for me with the "RelWithDebInfo" CMake configuration, but also not the Debug configuration
Hi!
Using clang in CLion on Windows is not properly supported for now - https://youtrack.jetbrains.com/issue/CPP-10711. You can try using clang installed from MinGW.