title: How to debug native code in an Android library project?
body: <p>I am developing an Android library with native code. This library project is added as a library in an application project.</p>
  
  <p>I would like to debug the library when the application project is using it.</p>
  
  <p>I am pretty sure the settings in the library (makefiles, build command, compiler options) project are ok because I tried the debugger from within the library (I created a dummy Activity and unset "library") and it worked. I am also aware of the delay that might occur because of the time needed to load the dynamic library and I don't think it's the issue for the same reason.</p>
  
  <p>In the Application project, I just added native code support set the build command as <code>ndk_build NDK_DEBUG=1</code>, <strong>but it never stops at breakpoints</strong>. Any idea would be greatly appreciated</p>