"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." —Brian W. Kernigham
Debugging is something most of us do daily yet we often treat it like taking out the garbage i.e. running holding our nose and trying to get rid of it quickly. As a result even seasoned developers are unaware of some basic debugging capabilities and tricks. In this talk we'll go over a lot of debugging tips and tricks you probably don't know.
Note: This talk is based on the "140 Second Ducklings" debugging series from twitter...
The session demonstrates practical debugging tips and tricks using VSCode and Java but most of the ideas are universal and should be applicable to any language/IDE. Common tips include:
- Jump to line
- Force Return
- Inspecting return values
- Watchpoints
- Tracepoints
- Object marking
and much more...
Your debugging process will change after this session!
About this talk
This talk received high ratings whenever it was given. I have several variations of it.