0

I started learning the Android-NDK, and learning little about the suggested, Eclipse-Java-development approach.

To debug non-native apps, it appears there are more tools to learn. It would appear that these tools exist because of something gdb is missing.

Can gdb be used to debug any binary? What would prevent gdb from attaching to a running non-native PID? Is there any reason why a non-native (Java) app cannot be debugged by gdb?

4

1 回答 1

0

与 gdb 类似的工具是 jdb,它适用于 android。您可以在这篇优秀的博客文章中找到更多信息:(jswat 似乎也很受欢迎)

http://codeseekah.com/2012/02/16/command-line-android-development-debugging/

于 2013-10-28T12:08:02.167 回答