Using LLDB with MinGW on Windows
Hellom I ran into a little problem. So basically I compile projects using LLVM's clang and clang++ using MinGW toolchain (as the Visual Studio toolchain uses clang-cl that causes various problems on several projects, besides I can't use libraries that are targeted for GNU compilers due to argument incompatibility). CLion only allows me to choose GDB as debugger for toolchain which is unable to load PDB files produced by the lld. Usually I was attaching LLDB to the running process, but in come scenarios it is impossible to do, as I have to debug code that runs on application startup.
So my question is, how could I use LLDB with MinGW toolchain? Or should I wait until such support will be added directly to the CLion.
I've tried selecting LLDB executable as the debugger, but IDE doesn't seem to like that and doesn't accept it as a valid debugger.
Thanks in advance!
请先登录再写评论。
>So my question is, how could I use LLDB with MinGW toolchain?
Currently there is no way to do that in CLion.
Feel free to comment or upvote https://youtrack.jetbrains.com/issue/CPP-16660. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.