Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Debugging with Pry
Search
Conrad Irwin
July 25, 2013
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Debugging with Pry
Slides from Debugging with Pry at Lumos Labs.
Conrad Irwin
July 25, 2013
More Decks by Conrad Irwin
See All by Conrad Irwin
Go for Rubyists
conradirwin
2
320
REPL Driven Development with Pry!
conradirwin
5
1.6k
MongoDB — confessions of a PostgreSQL lover
conradirwin
3
4.1k
Debuggable Code
conradirwin
1
310
Pry — the good parts!
conradirwin
25
1.7k
Efficient debugging with Pry
conradirwin
2
420
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
430
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
330
A Tale of Four Properties
chriscoyier
163
24k
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
500
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
520
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Paper Plane (Part 1)
katiecoart
PRO
2
11k
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
Transcript
None
From http://www.codeodor.com/images/frustrated.jpg
“Beware of bugs in the above code; I have only
proved it correct, not tried it.” — Donald Knuth
From http://thecollaboratory.wikidot.com/2013-philosophy-of-thought-logic
None
None
None
Use binding.pry Easier to write. Easier to read. Can explore
interactively. Can fix things interactively.
Use binding.pry whereami $ (aka. show-source) ls edit
Use binding.pry cd ? (aka. show-doc) up (and down) try-again
(with rescue rails server) help
Debugging is fun 49.9% of your time is spent debugging.
Optimize that. Pry can help.
Questions? @ConradIrwin