Tag Archives: debug

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 , , , | 10 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 , , , , | 72 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 , , , , | 5 Comments