or it's all made to entertain me? :)
There is so many of them (in source code of android, or in gcc), it looks like there are multiple different libbacktrace's exist.
Considering that native debugging is virtually nonexistent on Android (it feels like it's 5 years behind WinRT in terms of development tools), some kind of backtracing is very important for my project.
So, what's the definite way to get it working? I had it partially working using unwind.h api from android NDK, but it gives me only addresses that I need to resolve separately.
all that corkscrew is nonsense. I have like 50 different android phones and I had to test like 10 of them before I found one that has corkscrew. I tried to take corkscrew
builds from elsewhere but they do not load on production phones.
My goal is to include whatever giant beast into my source code, but to get freaking backtraces working properly without dependency on what's available on the phone (e.g. if it has or not libcorkscrew or anything like that).
Can you please recommend what kind of lib I'd need to include into my project?
here are some bits that I found so far:
aosp/system/core/libbacktrace
aosp/system/core/libcorkscrew
aosp/external/libunwind
https://github.com/mirrors/gcc/tree/master/libbacktracehttps://github.com/xroche/coffeecatch (uses corkscrew or unwind)
please, advise, what I need to get it build and running in my project. Any special instructions on how to deploy my app if I get backtraces working? I guess it should be unstripped build to get it working, right?
has there been done something that works?