Attaching a process with pdb

At this time, pdb does not have the ability to halt and begin debugging on a running program. You have a few other options: GDB You can use GDB to debug at the C level. This is a bit more abstract because you’re poking around Python’s C source code rather than your actual Python script, … Read more

Getting started with the Python debugger, pdb [closed]

Here’s a list of resources to get started with the Python debugger: Read Steve Ferb’s article “Debugging in Python” Watch Eric Holscher’s screencast “Using pdb, the Python Debugger” Read the Python documentation for pdb — The Python Debugger Read Chapter 9—When You Don’t Even Know What to Log: Using Debuggers—of Karen Tracey’s Django 1.1 Testing … Read more

tech