~/talk

Debugging: All You Need to Know

Talkat DroidKaigi 2024 · 2024-09-11..09-13· [developer-experience, android]
links:none on file
slides:none on file

Shows concrete debugger techniques in Android Studio: use conditional breakpoints and path counts to avoid noisy logs, attach the JVM debugger in four ways (run-with-debug, attach to process, wait-for-debugger flag, programmatic wait), and inspect/watch frames, fields, and evaluate expressions. Demonstrates force return and frame reset to replay outcomes, explains coroutine-name debugging and passing the compiler debug arg to disable optimizations so suspended values remain visible, and warns that debuggable builds slow runtime and require android:debuggable=true.

AI-written summary · about

  1. 0:00Introduction
  2. 1:31Debugging motivation
  3. 3:00Debugging steps
  4. 4:30Print debugging limits
  5. 5:55Debugger basics
  6. 7:00Debugger pane components
  7. 8:23Evaluate state changes
  8. 9:07Step execution tracking
  9. 10:19Debugger cautions
  10. 11:03Third-party library debugging
  11. 12:07Watchpoints for methods/fields
  12. 13:15Watch state continuously
  13. 14:02Change values and reproduce tests
  14. 15:26Reset frames for verification
  15. 16:08Breakpoint management
  16. 17:15Logging breakpoints
  17. 17:40Conditional breakpoints
  18. 19:49Multithread debugging
  19. 20:54Coroutine debugging
  20. 21:57Optimization and debuggability
  21. 22:59Compose function debugging
  22. 24:22Debugger principles
  23. 25:49Android Studio debugger
  24. 27:13Debugger wait states
  25. 28:19Code-controlled debugger
  26. 29:03Multiplatform debugging
  27. 30:47Debugger benefits
  28. 31:32Debugging performance
  29. 32:13Debuggable attributes
  30. 32:35Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.