Fixing your Combine code with the Timelane Instrument
summary
Custom Instruments-based debugging shows Combine and RxSwift streams plotted as subscriptions, values, and completion states inside Instruments. The open-source Timelane Instrument sends OSLog signposts so adding a tiny wrapper (each package is one file) produces an interactive timeline. Practical fixes shown: replacing a cancel with a finished completion so timers actually complete, and discovering a flaky token endpoint that fails every third request. Usage is "drop-in" — insert a lane operator at the point of interest or swap Published for PublishedOnLane to visualize emissions.
AI-written summary · about
chapters (9)
- 0:00Intro
- 0:37Visual debugger
- 1:53Timelane Instrument
- 2:58Timeline Tour
- 8:05Demo
- 12:55Timelane
- 17:55Testing
- 22:45Progress
- 24:43Test








