message: native debugging tips on README.md
diff: +# Binary debugging tips (sep-11 2021)
  +
  +## More explicit native crashes
  +When you get a native crash log and the libtorrent function names are not explicit, if you can replicate the crash
  +update the `swig/config/android-<arch>-config.jam` file and set the `<cxxflag>-fvisibility=default` (instead of `hidden`)
  +and you will be able to get closer to the crash, usually a nullptr dereference.
  +
  +## Isolating native crashes in adb logcat using ndk-stack
  +
  +Make sure your `android-ndk-r<version>` folder is in the `$PATH` and invoke adb logcat like this
  +
  +`adb logcat | ndk-stack -sym <path-to-shared-library-folder>`
  +
  +For example:
  +
  +`adb logcat | ndk-stack -sym ~/workspace.frostwire/frostwire-jlibtorrent/swig/bin/release/android/armeabi-v7a`
  +
  # About ifaddr.patch
  This patch was created inside the Dockerfile /src/libtorrent folder.
  Its purpose is to turn off netlink sockets in favor of iffaddr sockets which are now supported in android
  