~/talk

The joy of Ruby debugging - Pry universe

Talkat RubyDay 2015 · on Friday, 2015-11-13· [ruby]
links:none on file
slides:none on file

Claims that Pry transforms Ruby debugging by letting code stop at runtime with binding.pry, inspect live objects including private methods, view source and docs, edit files and reload without restarting, and attach remotely with pry-remote. Demo walks through a Hanoi solver: Pry exposes a double-pop bug, permits in-place fix, and reruns tests until all assertions pass. Plugins like pry-rescue and pry-bug add automatic repl-on-exception and stack navigation so debugging becomes interactive and much faster.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 2:09Debugging in Ruby explained
  3. 4:57What is Pry and why use it
  4. 7:45Pry features and commands
  5. 10:12Binding.pry and runtime debugging
  6. 15:56Live debugging demo
  7. 21:18Pry-rescue for exceptions
  8. 26:01Extending Pry with custom commands
  9. 32:51Debugging third-party gems
  10. 39:21Pry for code exploration
  11. 41:10Why Pry changes debugging
~/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.