I’m really digging the Tegra Developer Pack on OSX. It’s made managing my Eclipse / NDK / SDK setup much more sane. However, I’m running into an issue when attempting to debug a native (c++) shared library. Here’s how things are configured:
I’m using a rooted and seemingly properly configured Nexus 7 device.
I have a Java Android application that references another Java library that dynamically loads a shared library built via an external makefile. There are a handful of native functions exposed to the Java library from the native library via the “native” keyword in Java.
The native library is built with debug info enabled. I’ve verified that symbols are loaded when the native library is loaded. I’m using the “Debug As Android NDK Application.” Yet when I try to step into a native function exposed by the native library, it ends up stepping over the function instead.
It feels like shared library debugging like this is not supported by the tool. But before I go down the road or refactoring the code to use static linkage, I thought I’d post here for any possible guidance on this issue. Surely someone has encountered this kind of problem before.
Any info / tips / suggestions would be helpful!