6

When debugging widget, every breakpoint causes ANR.
There is solution for Eclipse, but I can't find solution for IDEA.

Siebe
  • 942
  • 2
  • 10
  • 27
alper
  • 322
  • 2
  • 14

1 Answers1

0

I wasn't able to reproduce the ANR. I'm using IntelliJ Idea 12, tried it with Android 4.1.2 and 2.3.3 emulators.

But if you find that the Eclipse solution is working for you, there is a way to attach to a running process in IntelliJ's debugger as well. First you just "Run" the app, and then attach the debugger to it using these steps. I set a breakpoint in the onUpdate() method of the widget and it worked successfully.

Anton Cherkashyn
  • 5,719
  • 6
  • 43
  • 80