How do you find out what's happening in a process?

Ulrich Eckhardt ulrich.eckhardt at
Mon Nov 29 16:40:43 CET 2010

Leo Jay wrote:
> I'd like to know how do you guys find out what's happening in your
> code if the process seems not work.
> In java, I will use jstack <pid> to check stacks of threads and lock
> status. But I don't know how to do it in python.

import pdb

Generally, searching "python debugger howto" should turn up a few useful
results. ;)


Domino Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932

More information about the Python-list mailing list