Keil Logo

DS-5: Debug Android using DS-5


Information in this knowledgebase article applies to:

  • ARM Development Studio 5

QUESTION

Can DS-5 debug Android?

ANSWER

Yes, DS-5 can be used to debug native libraries and applications on Android.

You need to be able to execute gdbserver on the Android device or model and be able to connect to it, for example over Ethernet.

Android is a software stack that includes an operating system, middleware and applications. Android applications are typically written in Java and executed by the Dalvik virtual machine. The Android SDK from Google allows building and debugging Java applications. The Android system includes a set of C/C++ native libraries that are used by Android Java applications. The Android NDK (native development kit) from Google allows additional native libraries to be created.

DS-5 supports debugging of the Android native C/C++ system libraries and applications. The Android SDK is used in parallel with DS-5 for Java level development and debugging.

Eclipse provides an integrated environment where the Android SDK and DS-5 can be used together to debug both Android applications and native libraries.

SEE ALSO

Last Reviewed: Monday, January 11, 2021


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.