~/talk

Debugging Effectively

Talkat PHP UK Conference 2017 · 2017-02-16..02-17· [php, developer-experience]
links:none on file
slides:none on file

Claims a practical five-step process — gather info, replicate with 100% certainty, identify culprit, fix and retest, mitigate with tests — and shows tools that actually change outcomes: Xdebug and IDE breakpoints, var_dump/Kint, logging, Blackfire/New Relic profiling, git bisect to find the bad commit, netcat/curl and strace for system issues. Shares a concrete failure: injecting HTML into responses to fix an IE9 backend broke FedEx-generated PDFs, so the fix is replaced permanent solution plus automated tests, not a workaround.

AI-written summary · about

  1. 0:00Intro
  2. 0:21Colin O'Dell
  3. 1:08Overview
  4. 2:15Coding
  5. 3:44Process is the foundation of effective debugging
  6. 3:59Gain experience with code and tools
  7. 4:36Develop your intuition
  8. 5:34Junior Developers
  9. 7:45XY Problem
  10. 15:53Systematic Approach
  11. 19:33Replicate the Issue
  12. 20:56Identify the Culprit
  13. 21:36Fix it & Re-test
  14. 22:34Mitigate Future Occurrences
  15. 24:14Recap
  16. 24:33Long-Term Results
  17. 26:24Two essential tools
  18. 27:24Interactive Debugger
  19. 28:35Techniques
  20. 30:41Trace forwards
  21. 33:46Use tools
  22. 34:04Variable dumps
  23. 34:59Debug toolbars
  24. 35:59Console Utility
  25. 36:34Performance Profiling
  26. 38:09git bisect
  27. 41:21netcat
  28. 44:40Get help
  29. 49:00Four things to walk away with
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.