Unable to debug static libraries build with NDK_DEBUG=1

Because of the problem creating static/dynamic libraries (https://devtalk.nvidia.com/default/topic/606804/?offset=7#3977086) I’ve built them from the command line (ndk-build NDK_DEBUG=1) and then linking them into an Android native Activity project created by Nsight Tegra. I’m able to debug all of the code in the Visual Studio project but when I step into a function from one of the static libraries, disassembly is the only option available. (“Browse to find source” is disabled)

Note: this issue is being discussed via email.

This seems to be similar to my issue raised in another topic.

Isn’t it better to discuss these things publicly so other users can see the outcome/fix?

Anyway, is this resolved?

thanks

Hi Stuggy,

You’re right - at least we should have updated this thread back then. Anyway, this scenario seems to be working fine. I’ll update your thread with some info.