views:

625

answers:

1

Hi,

I have some piece of code which uses JNI. I can debug code wrote in Java directly in Eclipse (using ADT). I even have a script, which help me debug native code with gdb. However this is not very comfortable way for doing this.

Is it possible to configure Eclipse to use gdb (I guess gdbserver) for debbuging android native applications? Do you know where I could find any description of this?

+1  A: 

according to the release notes from Android 2.2 NDK - you can now debug on device native code. please refer to the NDK docs, since I didn't try this myself.

Reflog
Strictly this in Android NDK r4 which was released at the same time as Android 2.2 but this is right. You can find the docs here: http://developer.android.com/intl/de/sdk/ndk/index.html
Dave Webb