Tag Archives: Android

Multithread C/C++ Debugging on Emulators and Rooted Devices from Android 1.5

In Android 2.2 Google announced ndk-gdb script which ease the debugging on the device. Later it turns out that it is not capable of debugging any other thread than the main thread. In Android 2.3 Google ships fixed setup so … Continue reading

Posted in Android | Tagged , , , , | 4 Comments

How C/C++ Debugging Works on Android

How debugging of C/C++ code works on Android? Nothing special actually. Gdb itself has a feature for remote debugging.

Posted in Android | Tagged , , , | 11 Comments

Using Eclipse for Android C/C++ Debugging

Yes. You can use Eclipse for debugging of C/C++ code. I personally prefer cgdb but if you want to debug in Eclipse here is how.

Posted in Android | Tagged , , , , | 84 Comments

Using cgdb with ndk-debug (and cgdb tutorial)

Android ndk (http://developer.android.com/sdk/ndk/index.html) comes with ndk-gdb command that starts gdb debugger and connects it to Android application. cgdb (http://cgdb.sourceforge.net/) is superior console front-end to gdb so it seems logical to use it for debugging of Android applications. Following modification of … Continue reading

Posted in Android | Tagged , , , , | 6 Comments

Using Eclipse for Android C/C++ Development

Programming in C/C++ on Android is just awesome! This tutorial shows how to setup Eclipse for using C/C++ together with Java in Android projects.

Posted in Android | Tagged , , , | 102 Comments