Wednesday, June 8, 2011

Debugging with Android native library

To figure out the function that your native library crashed within, use arm-eabi-addr2line which comes with the Android NDK.

How to use:
1. PATH_TO_ARM_EABI_ADDR2LINE/arm-eabi-addr2line -C -f -e
2. type in the address to look up (the address after pc in exception logs)

or in one command

PATH_TO_ARM_EABI_ADDR2LINE/arm-eabi-addr2line -C -f -e AddressToLookUp


No comments:

Check clients which connect to Mac OS X Wi-Fi Internet Sharing

arp -i bridge100 -a bridge100 may be different on your Mac OSX