Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn effective debugging strategies in this 54-minute PHP UK Conference talk. Discover techniques to avoid wasted time and mental fatigue when tracking down software bugs. Explore methods like identifying appropriate tools, taking logical approaches, challenging assumptions, listening to variables, isolating code paths, and reinforcing with automated tests. Gain insights into combining these techniques with the right mindset for quick and effective debugging. Follow a systematic approach to replicate issues, identify culprits, fix and re-test, and mitigate future occurrences. Understand the importance of essential tools like IDEs and interactive debuggers. Master techniques such as tracing forwards, using variable dumps, debug toolbars, console utilities, performance profiling, and git bisect. Develop your intuition and experience with code and tools to become a more efficient debugger.
Syllabus
Intro
Colin O'Dell
Overview
Coding
Process is the foundation of effective debugging
Gain experience with code and tools
Develop your intuition
Junior Developers
XY Problem
Systematic Approach
Replicate the Issue
Identify the Culprit
Fix it & Re-test
Mitigate Future Occurrences
Recap
Long-Term Results
Two essential tools
Integrated Development Environment
Interactive Debugger
Techniques
Trace forwards
Use tools
Variable dumps
Debug toolbars
Console Utility
Performance Profiling
git bisect
netcat
Get help
Four things to walk away with
Taught by
PHP UK Conference