Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Happy Little Accidents - The Art of Debugging

294 views

Published on

My slides for a talk I gave in HelsinkiJS meetup on Apr 24th.

Published in: Technology
  • Hello! Get Your Professional Job-Winning Resume Here - Check our website! https://vk.cc/818RFv
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Happy Little Accidents - The Art of Debugging

  1. 1. Happy Little Accidents The Art of Debugging @hamatti
  2. 2. Hi, I’m Juhis! Developer. Dreamer. Adventurer. @hamatti
 
 Developer @ Futurice Mentor @ Koodimentori Founder @ Turku ❤ Frontend
  3. 3. Little Happy Accidents or like your boss calls them: bugs
  4. 4. Little Happy Accidents or like your boss calls them: bugs You can’t beat ‘em all - they will happen.
  5. 5. Little Happy Accidents or like your boss calls them: bugs You can’t beat ‘em all - they will happen.
  6. 6. Little Happy Accidents or like your boss calls them: bugs You can’t beat ‘em all - they will happen. Debugging skills help you
  7. 7. Little Happy Accidents or like your boss calls them: bugs You can’t beat ‘em all - they will happen. Debugging skills help you + spot ‘em
  8. 8. Little Happy Accidents or like your boss calls them: bugs You can’t beat ‘em all - they will happen. Debugging skills help you + spot ‘em + fix ‘em
  9. 9. Little Happy Accidents or like your boss calls them: bugs You can’t beat ‘em all - they will happen. Debugging skills help you + spot ‘em + fix ‘em + patch ‘em in a PR
  10. 10. Little Happy Accidents - PRINTING -
  11. 11. Little Happy Accidents - PRINTING -
  12. 12. Little Happy Accidents - CHROME DEV TOOLS -
  13. 13. Little Happy Accidents - CHROME DEV TOOLS -
  14. 14. Little Happy Accidents - CHROME DEV TOOLS -
  15. 15. Little Happy Accidents - EVEN WITH OBJECTS -
  16. 16. Little Happy Accidents - DEBUGGER -
  17. 17. https://twitter.com/lavrton/status/979649815356166144
  18. 18. Little Happy Accidents - LOGGING -
  19. 19. Little Happy Accidents - LOGGING - Printing gives access when you’re driving.
  20. 20. Little Happy Accidents - LOGGING - Printing gives access when you’re driving. Logging gives access to history of problems.
  21. 21. Little Happy Accidents - LOGGING - Printing gives access when you’re driving. Logging gives access to history of problems. Tools like Elasticsearch or Bugsnag make your life easier.
  22. 22. Little Happy Accidents - LOGGING - Printing gives access when you’re driving. Logging gives access to history of problems. Tools like Elasticsearch or Bugsnag make your life easier.
  23. 23. Little Happy Accidents - TESTS -
  24. 24. Little Happy Accidents - TESTS - Write tests to
  25. 25. Little Happy Accidents - TESTS - Write tests to - prevent little happy accidents
  26. 26. Little Happy Accidents - TESTS - Write tests to - prevent little happy accidents + create tests while developing
  27. 27. Little Happy Accidents - TESTS - Write tests to - prevent little happy accidents + create tests while developing - make sure they don’t happen again
  28. 28. Little Happy Accidents - TESTS - Write tests to - prevent little happy accidents + create tests while developing - make sure they don’t happen again + create tests after finding a bug
  29. 29. Little Happy Accidents - TESTS - Write tests to - prevent little happy accidents + create tests while developing - make sure they don’t happen again + create tests after finding a bug
  30. 30. Little Happy Accidents - NON-TECHNICAL SOLUTIONS -
  31. 31. Little Happy Accidents - NON-TECHNICAL SOLUTIONS -
  32. 32. Little Happy Accidents - NON-TECHNICAL SOLUTIONS -
  33. 33. Little Happy Accidents - NON-TECHNICAL SOLUTIONS -
  34. 34. Little Happy Accidents
  35. 35. Little Happy Accidents 1.Inspect with printing 
 and debugging
  36. 36. Little Happy Accidents 1.Inspect with printing 
 and debugging 2.Keep track with logging
  37. 37. Little Happy Accidents 1.Inspect with printing 
 and debugging 2.Keep track with logging 3.Prevent with tests
  38. 38. Little Happy Accidents 1.Inspect with printing 
 and debugging 2.Keep track with logging 3.Prevent with tests 4.Improve and solve by taking a break
  39. 39. THANK YOU! @hamatti
 
 http://hamatti.org

×