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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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.2k
Debuggable Code
conradirwin
1
310
Pry — the good parts!
conradirwin
25
1.7k
Efficient debugging with Pry
conradirwin
2
420
Featured
See All Featured
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
320
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
520
A Tale of Four Properties
chriscoyier
163
24k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
Code Reviewing Like a Champion
maltzj
529
40k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Darren the Foodie - Storyboard
khoart
PRO
4
4.1k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Thoughts on Productivity
jonyablonski
76
5.4k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
470
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
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