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
pdb.set_trace()

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

Uli

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

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to