如何在chrome ARC中将gdb附加到android模拟器

时间:2021-10-09 20:54:25

I need to attach gdb to debug my android app in chrome ARC. After loading the adb plugin, I can see the device listed in "adb devices" however I can't start a gdb server on this emulator. Same thing happens with Android studio which is not able to detect ARC emulator. Is there an easy way to debug the android app in ARC for java and native side code? Till so far, I've relying mostly on logcat traces but due to complexity of the app, it's getting difficult to completely rely on logcat traces.

我需要附加gdb来调试我在Chrome ARC中的Android应用程序。加载adb插件后,我可以看到“adb devices”中列出的设备但是我无法在此模拟器上启动gdb服务器。同样的事情发生在Android Studio无法检测ARC模拟器的情况下。有没有一种简单的方法来调试ARC中的Android应用程序的java和本机端代码?到目前为止,我主要依赖于logcat跟踪,但由于应用程序的复杂性,完全依赖logcat跟踪变得越来越困难。

1 个解决方案

#1


0  

Sorry. ARC does not currently support debugging apps with gdb. We do not have a gdb server running in ARC.

抱歉。 ARC目前不支持使用gdb调试应用程序。我们没有在ARC中运行gdb服务器。

Feel free to file a bug to express your interest in such a feature.

随意提交错误以表达您对此功能的兴趣。

#1


0  

Sorry. ARC does not currently support debugging apps with gdb. We do not have a gdb server running in ARC.

抱歉。 ARC目前不支持使用gdb调试应用程序。我们没有在ARC中运行gdb服务器。

Feel free to file a bug to express your interest in such a feature.

随意提交错误以表达您对此功能的兴趣。