I would like to debug a combined Java/C++ app which is occasionally crashing inside the C++. I am using Eclipse Kepler on a Windows-7-64 PC.
After reading this SO question I decided to try out the DS-5 CE Android Debug tool. So I went to the instructions page. I installed the things requested in the "prerequisites" section, and then came across these words:
To use the DS-5 Debugger to debug native code, update the version of gdbserver in the Android NDK ...\toolchains...\prebuilt directory with the version of gdbserver provided by DS-5. You can locate this file by selecting Help → ARM Extras... from the main menu. Ensure that you rename it to gdbserver.
Now I'm completely confused. I'm not sure what it means to replace the gdbserver. Is gdbserver a single file? multiple files? a directory? If I search for "toolchains" and "prebuilt", I see that there are multiple directories on my system that fit the bill. I have c:\android-ndk-r9c\toolchains\xxx\prebuilt\ where xxx could be a variety of things like llvm-3.3 or renderscript or x86-4.6 or x86-4.8. Which one are they talking about? If I select Help → ARM Extras... then a window pops up showing me a directory called "arm" which contains three subdirectories, one of which is "gdbserver".
I presume I new need to copy some files from one location to another... but exactly which files, and what locations, is a mystery to me.