Pergunta

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.

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top