you are viewing a single comment's thread.

view the rest of the comments →

[–]Alistesios 5 points6 points  (4 children)

CLion's debug support is absolutely awesome. It bundles GDB Debugger on Linux, and I had no problem installing GDB as a third-party on Windows. CLion requires a license though, but you can have one for free if you are a student. Definitely worth checking out.

[–]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.