Contribute Media
A thank you to everyone who makes this possible: Read More

Debugging of CPython processes with gdb

Description

Debugging is a crucial part of day-to-day activities of Python developers. Everybody's familiar with pdb, which is our bread and butter, but sometimes it can't help you, e.g. when you are trying to debug a CPython extension or need to connect to a hanged process without restarting it. This is where general purpose debuggers like gdb shine. Being familiar with such tools allows one to troubleshoot complex issues efficiently and solve problems which otherwise would be very hard to fix.

Details

Improve this page