2023 AOSP and AAOS July Meetup: Debugging AOSP using Android Studio - revisited

  Переглядів 519

chris simmonds

chris simmonds

10 місяців тому

This is an update to Chris Simmonds' talk at the May 2022 meetup. This time he talks about a better way to attach to apps running on emulators and physical devices, and how to use JDB for a quick, works-out-of-the-box debugging experience

КОМЕНТАРІ: 6
@priyanshu.x
@priyanshu.x 2 місяці тому
Great video! Hi sir. Thanks for this great informational video. There is one small issue I am having. I don't see any processes in adb jdwp in Android 14. But it works fine in Android 13. Is there any changes that I maybe missing.
@chrissimmonds
@chrissimmonds 2 місяці тому
Yes, this changed in AOSP 14. Previously, on userdebug and eng builds all apps were created with a JDWP thread by default. Now you have to explicitly enable it by setting property persist.debug.dalvik.vm.jdwp.enabled to 1, e.g. by typing: $ adb shell setprop persist.debug.dalvik.vm.jdwp.enabled 1 $ adb reboot
@priyanshu.x
@priyanshu.x 2 місяці тому
@@chrissimmonds hi.. thanks for the update. It worked fine. Although is there a way to get more logs in jdb? Like more information about how it reached to the breakpoint
@damamazaway
@damamazaway 6 місяців тому
As AOSP has lots of C/C++ code, how would one debug those? I assume using JDB for debugging C/C++ code won't work?
@chrissimmonds
@chrissimmonds 6 місяців тому
Great question: we covered this in the July 2022 meetup talk "Debugging native platform code using LLDB". Slides: 2net.co.uk/slides/aosp-aaos-meetup/2022-july-native-debug.pdf. Video: ukposts.info/have/v-deo/gJOmd3pupY6Wwn0.html
@damamazaway
@damamazaway 6 місяців тому
@@chrissimmondsThank you for the links and this video as well. Exactly what I was looking for.
2023 AOSP and AAOS July Meetup: Binder RPC - AIDL for distributed systems
34:49
Android (AOSP) Build System - Soong
4:25
AOSP »» Android »» AI »» Tech News to Go
Переглядів 10 тис.
Сын Расстроился Из-за Новой Стрижки Папы 😂
00:21
Глеб Рандалайнен
Переглядів 5 млн
GADGETS VS HACKS || Random Useful Tools For your child #hacks #gadgets
00:35
Windows History The Windows Never Released of History
10:39
Administration of Mody World
Переглядів 1,2 тис.
Google Data Center 360° Tour
8:29
Google Cloud Tech
Переглядів 5 млн
Compiling MS-DOS 4.0 using DOSbox & Qemu
17:59
Neozeed
Переглядів 2,3 тис.
They Enabled Postgres Partitioning and their Backend fell apart
31:52
Hussein Nasser
Переглядів 36 тис.
BPMN за 25 минут (основы нотации и как ее учить)
27:06
Бизнес анализ BPMN требования
Переглядів 61 тис.
Add Apps to Android (AOSP) Practical - Android 12 / Android 13
7:57
AOSP »» Android »» AI »» Tech News to Go
Переглядів 7 тис.
Monolithic vs Microservice Architecture: Which To Use and When?
10:43