~/talk

Source-Diving for Fun and Profit

Talkat RubyConf 2019 · 2019-11-18..11-20· [ruby]
slides:none on file

Concrete, tactical guide to debugging third‑party gems: shows a three‑step workflow (find the big files, search iteratively, then trace a single line), demonstrates tools like ag and the referral AST search, live debugging with pry-byebug, and even editing gems on disk to add print statements. Real examples include chasing a Reddit stream through the redd gem, untangling cancancan metaprogramming, and locating an SFTP/CSV argument bug that later gets patched upstream. Practical, hands‑on techniques you can apply tonight.

AI-written summary · about

  1. 0:00Intro
  2. 0:23Me writing code
  3. 5:19Take me to your leader
  4. 5:48Start at the top
  5. 7:09Find the biggest
  6. 8:24If you see something, search something
  7. 10:10Regex Search
  8. 11:09Iterative Searching
  9. 16:32Searching: Referral
  10. 17:342. Searching
  11. 19:29Rake code
  12. 19:523. Trace It
  13. 26:22Debuggers are great
  14. 28:24Tracing: Forwards
  15. 29:11Tracing: Backwards
  16. 31:33Tracing: Gem Gems
~/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.