11

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.

R McCafferty
  • 111
  • 1
  • 3

1 Answers1

17

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

cesards
  • 15,882
  • 11
  • 70
  • 65