~/talk

Advanced Debugging Techniques

Talkat UIKonf 2018 · 2018-05-13..05-16· [ios]
slides:none on file

Half of developer time goes to debugging—about $312 billion a year—and this session gives concrete fixes: use lldb register read to find object pointers (used to locate a stuck VLC image view in an Apple TV app), enable UIViewLayoutFeedbackLoopDebugger with a threshold to break on infinite layout loops, turn on ConcurrencyDebug and MigrationDebug/SQLDebug=3 for Core Data issues, add breakpoint actions to import UIKit/Foundation, use LLDB to change live variables, and prefer assert/precondition/fatalError correctly.

AI-written summary · about

  1. 0:00Introduction to debugging
  2. 1:56Getting more information earlier
  3. 6:15Launch arguments for debugging
  4. 10:12Speeding up debugging tasks
  5. 13:43Breakpoints and LLDB tricks
  6. 16:41Error handling best practices
  7. 20:39Summary and resources
~/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.