Get function names from call stack

You should have a copy of arm-eabi-addr2line available in the NDK bin directory. You can use this with a command like:

arm-eabi-addr2line -f -e /path/to/lib/with/symbols.so 0x001fb18a

That will crawl through the debug symbols in the shared lib to get file and line number information. For best results hand it a library that hasn’t had the debugging stuff stripped out.

Leave a Comment