You can't set a C++ breakpoint while debugging Java. You need to run Debug As > Android Native Application
. In Eclipse, a hittable breakpoint has a tick.
In order to debug as Android native application, your application needs to have Native Support
, you need to have the CDT plugin
and you shoud add NDK_DEBUG=1
in the build command.
More info here.