Fresh install of Intellij Rust hangs on debug

I reformatted by daily driver Linux machine and installed CLion via the Toolbox (I think last time I installed it directly). I configured the rust plugin and got everything working fine. It runs tests and binaries beautifully.

But, for some reason, debugging has stopped working. When I hit debug on the simplest possible binary (just hello world), the command just hangs for hours.


It never completes, never errors, never hits a breakpoint.

Has anyone else had a similar problem?

My Clion version is:
CLion 2019.1.4
Build #CL-191.7479.33, built on May 30, 2019
JRE: 1.8.0_202-release-1483-b53 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.19.34-04457-g5b63d4390e96

And my Rust plugin is v0.2.99

1 Like

Well, I am not sure what was happening, but I have fixed the problem. For future googlers, I am using Crostini on a Google Chromebook. The instance of CLion I was using was scaled up using sommelier. This seems to change the application id, and broke debugging. When I opened the application normally (without scaling through sommelier) the debugger worked.

Exec=sommelier -X --scale=0.6 --dpi=60 "/home/chrismichaels84/.local/share/JetBrains/Toolbox/apps/CLion/ch-0/191.7479.33/bin/" %f

1 Like