简体   繁体   English

在我的 Nexus S 上调试 JNI 代码

[英]Debugging JNI Code on my Nexus S

How can I debug JNI code on my device.如何在我的设备上调试 JNI 代码。 I enable debugging and Im able to successfully set break points in Java and able to debug using Eclipse.我启用了调试,并且能够在 Java 中成功设置断点,并且能够使用 Eclipse 进行调试。

But when it comes to my JNI C/C++ code I can't debug.但是当涉及到我的 JNI C/C++ 代码时,我无法调试。 Eclipse doesn't get no feedback on the breakpoints that I set. Eclipse 在我设置的断点上没有得到任何反馈。

Please help!请帮忙!

ps: Im using Android SDK 2.3.4, NDK r5b on MacOS Snow Leopard ps:我在 MacOS Snow Leopard 上使用 Android SDK 2.3.4,NDK r5b

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM