Androider
Androider

Reputation: 21345

Debugging JNI/C++ Android WHERE is the official document on how to do this?

Everything I have seen points to a blog or something out of date or suggest using DS-5 plugin etc. I need to know where the official document is showing how to debug android native JNI code. Thanks

Upvotes: 1

Views: 338

Answers (1)

Kristian Evensen
Kristian Evensen

Reputation: 1345

I use ndk-gdb to debug my native code (is included with the NDK), and it works fairly well. A nice example on how to use it is here. Yes, it is another blogpost, but this one does not introduce some hackish mumbo-jumo solution :)

I have not found any official documentation, except the ndk-gdb.html in the docs folder of the NDK.

Upvotes: 1

Related Questions