the best debugging tool - your brain

26
THE BEST DEBUGGING TOOL – YOUR BRAIN 12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro 1

Upload: christian-drumm

Post on 11-Apr-2017

813 views

Category:

Software


0 download

TRANSCRIPT

Page 1: The best debugging tool - your brain

THE BEST DEBUGGING TOOL – YOUR BRAIN

12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro 1

Page 2: The best debugging tool - your brain

2

Debugging?

12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 3: The best debugging tool - your brain

3

Debugging is easy!

12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 4: The best debugging tool - your brain

412.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 5: The best debugging tool - your brain

5

Is debugging really that

easy?12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 6: The best debugging tool - your brain

612.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 7: The best debugging tool - your brain

712.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 8: The best debugging tool - your brain

8

http://geekandpoke.typepad.com/geekandpoke/2012/06/abstraction.html

12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 9: The best debugging tool - your brain

9

Debugging is not easy!*

*At least for all non-trivial bugs.

12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 10: The best debugging tool - your brain

10

How to debug effectively?

12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 11: The best debugging tool - your brain

11

Step 1: Know your

tools.12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 12: The best debugging tool - your brain

12

There is more than the

debugger.12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 13: The best debugging tool - your brain

13

Step 2: Thinking about the Problem…

12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 14: The best debugging tool - your brain

14

Which business process causes

the error?12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 15: The best debugging tool - your brain

15

What does the error message

tell me?12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 16: The best debugging tool - your brain

16

Which system causes the

error? 12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 17: The best debugging tool - your brain

17

Which software layer?

12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 18: The best debugging tool - your brain

18

Step 3: …and the code.

12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 19: The best debugging tool - your brain

19

Step 4:Debugging as an experiment

12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 20: The best debugging tool - your brain

2012.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Design experiment

Debug & test

assumptions

Refine assumptio

ns

Page 21: The best debugging tool - your brain

21

<F5> vs. <F6>

12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 22: The best debugging tool - your brain

22

Step 0: The right mind

set.12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 23: The best debugging tool - your brain

2312.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 24: The best debugging tool - your brain

24

Debugging is not easy!*

*But there are approaches and practices to help.

12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 25: The best debugging tool - your brain

25

What do you think / do?

12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro

Page 26: The best debugging tool - your brain

26

http://scn.sap.com/community/abap/blog/2015/09/09/the-best-debugging-tool--your-brain

12.09.2015 The best debugging tool - your brain | Christian Drumm | #sitWro