Q:

Inserting breakpoints on Eclipse for an Android program

I'm using Eclipse 3.3 and Android 1.6. I installed DDMS on my Eclipse and tried to insert breakpoints as in tutorial https://www.ibm.com/developerworks/library/os-ecbug/ . However, as I run my project, the program won't stop when it reaches the breakpoint. Is there a bug in Eclipse or am I doing something wrong?

A:

May be this is the problem:

However, as I run my project

Debug the project instead of running it. Select 'Debug' from the 'Run' menu or hit F11.

A:

If the breakpoint symbol/circle has a line going through it, it means you have the "skip all breakpoints" option selected. You can de-select it in the Debug view, under the "Breakpoints" section/box.

A:

To add to Amarghosh answer's, check also your JDK version.
There is a bug with JDK6_u14 et u15, which made your breakpoints "invisible" (the program would not stop during a debug session)
Fixed in the latest one JDK6u16.

