Eclipse Android debugging not working

Hi everything. I have a problem with Eclipse, debugging an Android application: all the breakpoints that I place do not work (applications do not stop, they are skipped because they do not fit). Is there any way to make them work?

I have Win7, JDK 6u23 64bit, Eclipse 3.6 64bit, all breakpoints are enabled (no skip selected).

Thanks in advance for the answers :)

+7
source share
5 answers

Does the thread list appear in the Debug perspective when the application starts? If not, the Eclipse debugger is not a property attached to the phone / emulator.

Make sure you have android:debuggable=true in Manifest . The latest version of the Eclipse ADT plugin should do this for you, but I saw several cases where it did not work as I expected.

+15
source

old question, but I haven’t found the answer anywhere. Mawg's comment on the OP contained some clues to my answer.

for me, “skip all breakpoints” was turned on by default (windows7 64bit, adt pluggin 2.22).

I had to go to the Breakpoints tab in the debug area to find this. I do not think this is shown in DDMS. the missing breakpoints are separated from the breakpoints, which I think are the same as the “on” breakpoint. I am not sure why there is a difference.

I would post a snapshot of the missed breakpoint, but I don't have 10 rep yet. it is a blue circle, but with a "\" across it.

+4
source

Restarting Eclipse and my device solved this problem for me.

0
source

A similar problem has been resolved today.

It turns out that I turned off the Eclipse parameter, after which the debug window is automatically displayed after starting debugging (this was not pleasant to me).

I need to manually configure the Eclipse debug window once per session (when debugging) so that the debug buttons (play / pause / etc) become active. This was done automatically.

0
source

I am using Eclipse Luna with the ATD plugin. When I tried to add android:debuggable="true" to the <Application> my App Manifest.xml, I received a compilation error Avoid hardcoding the debug mode; leaving it out allows debug and release builds to automatically assigned one. Avoid hardcoding the debug mode; leaving it out allows debug and release builds to automatically assigned one.

Finally, I found how to activate breakpoints, I just have to click the Debug button (error icon).

0
source

All Articles