Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How do I debug native code of samples on Android in Eclipse?

I am using Eclipse and trying to step through the native portions of the NDK OpenCV 2.4.8 samples, e.g. "T2 - Mixed Processing". I can both Run as Android App and Debug as Android App, and in the latter case I hit breakpoints in the Java parts (e.g. but not in the C++ parts (e.g. jni_part.cpp). I tried Debug as Android Native Application but nothing happened and I saw no new messages in LogCat.

What do I need to do to be able to hit the C++ breakpoints?

Thank you