I'm using DS-5 to debug native code of my custom android application and it works well, my question now is about android source code (AOSP) that i have recompiled.
It's possible to debug the system-level C++ code (with DS-5) ? For example debug native code of system_process ?
Thanks in advance,
Best Regards
Debugging Android framework components is not that straight forward. The info available on Android source site leaves lot of information to imagination.
If you want to debug Java services inside system server, please check Debugging Android Java Framework services.
If you want to debug native application on an Android device, please check Debugging Android native applications.
The trick to debug native code loaded by system_server is to select app_process as target executable. If you pick system_server, you will see lot of gdb weirdness.