Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Magic and Science of Debugging (RubyConf 2021)

The Magic and Science of Debugging (RubyConf 2021)

It was the best of times, it was the worst of times: it was debugging time. Debugging is an inevitable reality of writing software; every developer has had a piece of code behave unexpectedly at some point or another.

But debugging can feel like magic: Where do you start looking for the bug, and how do you know where to find it?

In this talk, we'll learn what makes debugging hard, and the cognitive process behind it. We'll also explore using the scientific method as a debugging process model in order to help us get better at finding the bugs in our own Ruby programs. Let's become better debuggers together!

Vaidehi Joshi

November 12, 2021

More Decks by Vaidehi Joshi

Other Decks in Technology


  1. 50%

  2. — Brian Kernighan “Everyone knows that debugging is twice as

    hard as writing a program in the first place. So if you’re as clever as you can be when you write it, how will you ever debug it?”