ro.debuggable=1或android:debuggable=”true”
VM process
JDWP thread —– adbd(JDWP service) ———— adb server —–adb client
VM process启动创建jdwp thread->adbd注册
本文深入探讨了Android应用中ro.debuggable参数设置为1或android:debuggable属性设为true的作用,以及其如何通过JDWP线程与adb服务进行交互,最终启动VM进程并创建JDWP线程,实现调试功能。
ro.debuggable=1或android:debuggable=”true”
VM process
JDWP thread —– adbd(JDWP service) ———— adb server —–adb client
VM process启动创建jdwp thread->adbd注册
3345

被折叠的 条评论
为什么被折叠?