~/talk

Debugger Driven Developement with Pry

Talkat RailsConf 2014 · 2014-04-22..04-25· [testing, ruby-on-rails]
slides:none on file

Claims that a debugger can drive development not just fix bugs, and demonstrates it by building a bowling score tracker and getting tests green inside one runtime. Uses Pry plus plugins—pry-rescue, pry-stack_explorer, pry-debugger—invokes runtimes with binding.pry, navigates stack frames, copies history, edits the failing file in place, and replays requests. Shows concrete failures (NameError, NoMethodError, assertion failures), implements class and methods interactively, and validates behavior before persisting code.

AI-written summary · about

  1. 0:00Introduction
  2. 0:34Why Debuggers
  3. 2:43Pry as an IRB alternative
  4. 3:12Runtime
  5. 3:45Enhanced introspection
  6. 5:59Pry plugins
  7. 13:14Pry as runtime developer console
  8. 14:03Traditional workflow
  9. 17:52Demo
  10. 18:52Running the code
  11. 27:17What happened
  12. 28:05Testing
  13. 28:23TDD
  14. 30:13SmallTalk
  15. 33:25Power of Pry
  16. 33:44Code Example
  17. 40:01Conclusion
~/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.