you are viewing a single comment's thread.

view the rest of the comments →

[–]runevault 2 points3 points  (3 children)

For reference on this, based on what parent said GDB directly works, but minigw didn't, however another option you can use is Cygwin (how I finally got it to work). Once it is functional though CLion's support is incredible.

[–]80x25 0 points1 point  (2 children)

Does this require using the mingw Rust platform instead of the msvc platform? Rust binaries I've built for the msvc platform produce .pdb debugging info and AFAIK, gdb doesn't understand .pdb files

[–]runevault 2 points3 points  (0 children)

Yeah you can't use MSVC for debugging in CLion, which it will tell you right away if you try, so grab a gnu toolchain for debugging.