Home » Android » Line Breakpoints not suspending thread when debugging in Android Studio

Line Breakpoints not suspending thread when debugging in Android Studio

Posted by: admin June 16, 2020 Leave a comment

Questions:

I’m using android studio 1.5.1 and trying to debug a very simple application on an emulator. I’ve tried emulators with version 18-23 and all do the same thing. Basically it will suspend the thread for method level breakpoints but not for any line break points.

How to&Answers:

If you are trying to debug multithread apps in Android Studio, you could have troubles with some of your breakpoints, so it’s better to enable an Android Studio option to pause all threads by default setting.

Double click your breakpoint and make default the “Suspend All threads” option.
enter image description here