Monday 12 March 2012

Debugging JNI/C++ code under Android/Eclipse is now easy!

At long last: debugging JNI/C++ code under Android/Eclipse is now easy!

All I had to do was to get this amazing software for Eclipse - thank you ARM ! ...:

http://www.arm.com/products/tools/software-tools/ds-5/community-edition/ds-5-community-edition-debug.php

Because I'm using a Mac, I had to install under a Linux VM on my Mac...

The only obscure thing I found when following the install/configure instructions, was that I in order for the new DB-5 Debugger Debug Configuration to find my device, I first to do this:

sudo ln -s /usr/bin/adb

Brilliant!!

Pete