Goodbye Print Hello Debugger at Pycon Australia 2019

This talk was given on Saturday, August 3rd 2019 at PyCon Australia in Sydney.

Video

Slides

View the slides on SpeakerDeck, or download them.

Abstract

Still debugging your code with print statements? Learn how to level up your ability to troubleshoot complex code situations by using the power of a fully-featured debugger.

Debuggers allow you to examine your program state, watch as the values of important variables change, and even modify the content of variables on the fly. Once I gave up print statements, my productivity as a programmer increased, and yours can too!

I’ll showcase the variety of debugger tools available - from pdb, the simplest command line debugger that’s part of the standard library, to fancy graphical debuggers available in Python IDEs. Join me as we walk through real code together using debugger tools in a hands-on way to help us diagnose problems and bugs. The skills you’ll learn in this talk will allow you to quickly use these tools in your own code bases for fun, school, or work.

Cheat Sheet

Download the debugger cheat sheet.

Tweets


See also

comments powered by Disqus