开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜