Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
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
140
0
Share
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
300
REPL Driven Development with Pry!
conradirwin
5
1.6k
MongoDB — confessions of a PostgreSQL lover
conradirwin
3
4k
Debuggable Code
conradirwin
1
290
Pry — the good parts!
conradirwin
25
1.7k
Efficient debugging with Pry
conradirwin
2
400
Featured
See All Featured
The Cult of Friendly URLs
andyhume
79
6.9k
Designing for humans not robots
tammielis
254
26k
Marketing to machines
jonoalderson
1
5.2k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
70
39k
The agentic SEO stack - context over prompts
schlessera
0
770
Testing 201, or: Great Expectations
jmmastey
46
8.1k
Color Theory Basics | Prateek | Gurzu
gurzu
0
310
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
54k
Agile that works and the tools we love
rasmusluckow
331
21k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
Believing is Seeing
oripsolob
1
120
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