gaoshan: > breakpoints did not work! help! Debugging multithreaded programs is not supported well by Python. There was a proposal to work on this: http://aspn.activestate.com/ASPN/Mail/Message/1610516 This may work: http://www.python.org/pypi?:action=display&name=rpdb.py&version=1.00 Neil