After upgrading Samsung Galaxy S5 SM-G900F to Lollipop (Android 5.0) I noticed strange behavior:
not all breakpoints are being caught within Android Studio.
Here is environment description and my observations
I tried rebooting phone, rebooting dev machine, turning on/off debugging in dev options, using USB drivers from Samsung and Google, invalidating cache in Android Studio, doing full clear and rebuild and so on.
Breakpoints that work have ticks inside red icons. I don't know the rule, which classes do have working breakpoints and which don't.
The same thing happens with this device on three different devboxes.
Help!
Last update of Samsung S5 this week solves the problem with Eclipse IDE. Android French version G900FXXU1BOC7
I found this out: Breakpoints don't work on allocations in some versions of Android. An allocation (second image) isn't executable code but the Fabric init code is, so it can break at that point. It seems to be a sort of check if the code is executable or not.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With