This may come out as too broad a question, but this issue(s) is driving me nuts and I'd appreciate some help:
It seems that with each new Android Studio version, debugging gets more and more impossible. I'm experiencing the following issues:
This happens both on real devices and emulators, with a wide range of setups and Android API levels.
My rig is quite powerful: Win 10, I7-4810MQ, 16g mem, SSD. Current AS version is 2.3.3.
Can anyone help me make some sense out of this mess?
It turns out the culprit was me using JDK 8 (1.8.0_45). I guess the situation did indeed begin deteriorating with Android Studio 2.2, when Google made the switch to OpenJDK.
The fix was to simply let Android Studio use its own JRE, which is based on the OpenJDK project.
In File -> Project structure -> SDK location, I had to tick Use embedded JDK:
Now I have to deal with the actual bugs in my app, but this is a whole different story...