Slide 1

Slide 1 text

No content

Slide 2

Slide 2 text

How To Fix Bugs Jason Orendorff ~ @jorendorff

Slide 3

Slide 3 text

What not to do ~ Feel discouraged ~ Smush the code around until it goes away ~ Fix it without understanding

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

What not to do ~ Feel discouraged ~ Smush the code around until it goes away ~ Fix it without understanding

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

How to fix bugs ~ Get steps to reproduce ~ Make a test case ~ Get more information

Slide 16

Slide 16 text

How to investigate ~ Learn to read a stack trace ~ Dump the data ~ Tie off loose ends ~ Work backwards ~ Learn the tools

Slide 17

Slide 17 text

Writing debuggable code ~ Check in the test ~ Look everywhere for the same mistake ~ Write debug methods ~ Write assertions ~ Make it obviously correct

Slide 18

Slide 18 text

good hunting