~/talk

Effective Debugging Kotlin Native in Xcode

Talkat droidcon New York 2025 · 2025-06-25..06-26· [android]
slides:none on file

Shows how Kotlin Native debugs as C89 in Xcode and gives concrete tactics: reproduce the bug on Android first, add the shared sources to Xcode (use folders and reference files), install Xcode Cotlin and use breakpoints plus brew install xcotlin, evaluate values with LLDB commands PO/ P/ FRV and add debugger actions, avoid step-into by placing strategic breakpoints, find native symbols with image lookup -v and call them via casted function pointers, and use Hopper or nm to inspect binaries.

AI-written summary · about

  1. 0:00Kotlin Native debugging intro
  2. 1:24Debugging challenges
  3. 2:27Xcode Kotlin plugin setup
  4. 3:11KMP debugging approach
  5. 6:48Android vs Xcode debugging
  6. 10:03Variables and expressions in Xcode
  7. 14:02Breakpoints for exceptions
  8. 15:36Stepping Kotlin Native code
  9. 18:48Debugging best practices
  10. 21:14Expression limitations
  11. 23:22LLDB commands
  12. 26:59Hopper Disassembler intro
  13. 27:22Calling Kotlin from native
  14. 30:43Debugging Objective-C in Kotlin
  15. 31:23Finding symbols in Hopper
  16. 34:34Calling Kotlin via LLDB
  17. 39:12Closing remarks Q&A
~/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.