UA PYCON 2012. Vladimir Kirillov. Debugging Python Applications in Production
Channel: UA Pycon
Date: 2012-11-10

20-21.10.2012
UA PYCON 2012. day 2 Hall B
Vladimir Kirillov
Debugging Python Applications in Production

Due to dynamic and interpreted nature of Python applications it's not hard to employ a limited set of debugging techniques in development and use a variety of debugging tools. However all nasty bugs tend to happen only in production, the very constrained environment without possibilities to edit code, restart, freeze or reconfigure in runtime to suspend services or scare the bug away. This talk is going to cover a set of techniques of debugging, tracing and profiling production Python code in Linux and Solaris environments (with focus on Linux). I'm going to show how to take advantage of GDB, strace, kernel memory, tcpdump, DTrace, SystemTap and all the related software tools to fully introspect what's going on in the Python-powered system.

Other videos from conference, talk descriptions and presentation files http://ua.pycon.org/speaking/