简体   繁体   English

如何调试Android模拟器?

[英]How to debug Android Emulator?

I want to debug Android emulator source code in order to get deeper understanding of the simulator. 我想调试Android模拟器源代码,以加深对模拟器的了解。 It would be great if I can debug with Eclipse. 如果我可以使用Eclipse进行调试,那就太好了。

I have found just a little information about Android emulator source code. 我只发现了一些有关Android模拟器源代码的信息。 Any help would be appreciated. 任何帮助,将不胜感激。

See this . 看到这个 This will guide you how to debug in step by step. 这将指导您如何逐步进行调试。

To get Different shout-Cuts >> click Ctrl + Shift + L 要获得不同的喊话声 >>单击Ctrl + Shift + L

I don't know what platform you're on, but basically compile it with all debugging symbols, if in linux you can open with gdb or cgdb also providing the source tree and you'll be able to see everything in the context of the source code. 我不知道您使用的平台是什么,但是基本上可以使用所有调试符号进行编译,如果在Linux中,您可以使用gdb或cgdb打开它,同时提供源代码树,那么您将可以在源代码。

I haven't used eclipse for this purpose but http://wiki.eclipse.org/DSDP/DD/GDB looks promising ... 我没有为此目的使用eclipse,但是http://wiki.eclipse.org/DSDP/DD/GDB看起来很有希望...

I'm sure someone can tell you how to do this with windows if you can't figure it out with uncle google. 我敢肯定,如果您无法通过Google叔叔解决这个问题,那么有人可以告诉您如何使用Windows进行操作。

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

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