Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Do you have access to CLion or just Intellij? I ask because CLion has real debugging support that, to my knowledge, Intellij does not have (CLion has built in ties to GDB that the other lacks).


The latest Intellij-rust added debug supporting in IntelliJ IDEA. https://intellij-rust.github.io/2020/04/27/changelog-121.htm...

Edit: fix typo.


I pay for the 'Ultimate' edition which means the different language support is available via plugins. At my day job I toggle between GO & Typescript and some JAVA side projects so setup works well enough for me.

I can't speak to CLion. I use the Go debugger daily and I don't have 'GoLand' perse, just the plugin.


I can speak for you; you won't get a debugger with the Rust plugin with IntelliJ. I'm going from memory here, and it's been a few months, but I believe the person working at JetBrains on the Rust plugin said it wasn't going to come out for IntelliJ.

My company is good about buying us tools, so they got me CLion (or, rather, the entire Jetbrains Ultimate Pack or whatever it's called). CLion has made Rust development almost infinitely better than it was just using the Rust plugin on IntelliJ (and this is coming from someone who just uses the Python plugin in IntelliJ even though like 50-75% of his code is Python). I'm a JVM dev masquerading as a Python dev and using Rust for some stuff that Python just isn't up to snuff on (and using the super sweet pyo3 package to make native python modules for it, too). The point is, I get the <3 for IntelliJ; I pay for the super ultimate edition for home use just because I like it _that_ much. But CLion and debugging has made my life so much better than doing it with the Rust plugin in IntelliJ or using VS Code.

Some people are content with log statements, but I'd rather stab myself than debug via logs. It's just not my jam!

Edit: I just thought to note that the CLion + Windows + Debugger game is weaksauce. There may be a way to get it to work in windows, but I don't know a single thing about the Visual Studio build tools or how to get everything to play nice or whatever that might be necessary, so I tried to get it to work through WSL. It worked sometimes, and not others, and I got so frustrated I picked up a Mac for my work refresh rather than another surfacebook, mostly because I was tired of having to jump through hoops to sometimes have a mostly working eventually kinda debugger.


The rust plugin updated today with debug support for IntelliJ IDEA Ultimate


That is fantastic news! I was curious when they added it and it looks like: https://github.com/intellij-rust/intellij-rust.github.io/com...

So yeah - nevermind about CLion! I do think it works better than IntelliJ, but it's a subtle, not-easily-quantifiable thing, and it's probably not worth buying it if you're just dabbling and also have IntelliJ Ultimate.


While Ultimate does give you access to all the language plugins, it does not give you access to all the IDE features that the other Jetbrains IDEs have.

This varies from language to language and IDE to IDE, but Idea does not support C++/Rust debugging, even with the language plugins. Only CLion supports them.

I’ve found this true across multiple languages, hence why I bought the full toolbox subscription and use the language specific IDEs where possible. It’s cut out a lot of rough edges from when I tried to just use Ultimate.


I don't think there is any good IDE that offers debugging and good IDE experience on windows (msvc) at the moment. CLion has had debugging but not for msvc last time I checked.

Perhaps VSCode can be combined with Rust-analyzer to give language support on par with IntelliJ-rust, but also a msvc debugger? That would basically make windows development "feature complete" (and free!).


rust-analyzer works well on Windows; I don't do a ton of debugging though. (I have been windows only for the past few years, but am not really an IDE person)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: