Eclipse Android app debugging not working

I am new to Android development as well as in the Eclipse environment; I'm used to using VS development in C #, so hopefully my problem will be just a configuration problem.

I am trying to use a debugger to run my software. I know how to add breakpoints, and the software should start in debug mode. From here, I should be able to use F5 and F6 to enter / stop my breakpoint.

My problem is that these "Stepping" features do not seem to work. My code stops at a breakpoint, but when I try to pass by, nothing happens. The highlighted line is highlighted, but immediately highlighted again; so I seem to never be able to go through my code.

I hope this problem makes sense, and I appreciate any help that can be offered.

+4
source share
1 answer

There are several situations where this can happen:

  • The line is executed again before the first occurrence is completed. This should only happen if you use recursion or this code runs in parallel.
  • You go on and continue so that he returns to the external method. This can occur if the line contains nested calls methods: getMyObject(getIdentifier(searchId("foobar")).
  • The source code does not match the running application. For example, when using a decompiler or when installing the wrong version of the source code.

, .


, Android Studio, IntelliJ, Android Eclipse Google.

+1

All Articles