I am developing a game on android using native C++ and NDK(with eclipse) to build it. I found very difficult to debug the native c++ code with eclipse and NDK when it hits a crash, is there any way to get C++ backtrace when programe crashes ? Please advise.

有帮助吗?

解决方案

You can do that with ndk-stack executable that is located in root of NDK. Read the docs about it in docs/NDK-STACK.html file.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top