thread debugging

Cliff Wells logiplex at qwest.net
Fri Aug 15 14:40:16 EDT 2003


On Fri, 2003-08-15 at 10:56, Kevin Cazabon wrote:
> Two solutions I can see:
> 
> 1)  at the end of your main script... don't exit.  use "while 1:
> pass".  That'll keep the main script running so you can debug normally

Better yet, do a join() on the threads in question.  Doesn't burn up cpu
while it waits.

-- 
Cliff Wells, Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726  (800) 735-0555






More information about the Python-list mailing list