Reputation: 11
I run android system on my linux with emulator, and now I want to debug android runtime(ART).
I can debug through the following methods now:
emulator
adb root
adb remount
adb push ~/android/library/libart.so /system/lib/libart.so
adb forward tcp:2345 tcp:2345
adb shell gdbserver 10.0.2.2:2345 am start -n com.android.calendar/com.android.calendar.LaunchActivity
target remote :2345
dir ~/android/aosp/
b JNI_CreateJavaVM
r
But debugging ART in this way is very inconvenient. Is there a better debug method available?
Upvotes: 1
Views: 164