Is there a way to use IntelliJ’s built-in profiler to work with Kotlin? It’s greyed out for me.
s
Stephan Schroeder
05/22/2019, 8:49 AM
I didn’t even knew IntelliJ had a profiler 🤯 Turns out: “CPU Profiler is an experimental feature in IntelliJ IDEA Ultimate … is available on Linux and macOS”. https://www.jetbrains.com/help/idea/cpu-profiler.html
Maybe it’s too experimental for Kotlin support??
Btw, did you enable it? Even if you run IntelliJ Ultimate on Linux or macOS, the profiler -as an experimental feature- is still disabled by default.
p
pindab0ter
05/22/2019, 11:25 AM
It is enabled for me, yes. The button is greyed out, though. Might be because it’s too experimental for Kotlin as you said.
I got it to work by adding a Profiler Configuration under Build, Execution, Deployment > Java Profiler