Matej Drobnič

07/01/2019, 12:03 PM
Is there a way to profile ( Android Studio on Windows? Need for kotlin-related issue (kts autocomplete). For me, "Start async profiler" option is grayed out, pressing "Enable async profiler" throws
Can't attach profiler agent dynamically. Please try to enable it persistent
. Adding provided flags to vmoptions causes studio to just flat out not start.

Alexey Belkov [JB]

07/02/2019, 8:25 AM
I'm not sure it's possible, other than getting the thread dumps as described in the official AS bug report reference Async profiler is not supported on Windows yet. However if the problem is related to Kotlin, AS may not be necessary. Can you please try capturing a snapshot in Intellij IDEA, ex. 2019.2 EAP? It should work there.