Debug native Android code
I'm using Sequoyah to debug native code on Android under eclipse. It works fine if libraries were built with NDK and were located in the project's folder. But there are some libs which were built on another machine. I have its sources, object files and libs are debuggable, but gdb couldn't fi开发者_如何学JAVAnd sources paths. Any ideas?
You can set up path substitution in gdb.
set substitute-path from to
I've got it! In eclipse go to Debug Configurations, Source tab and add Path Mapping. In this table you could map compile paths to current paths.
精彩评论