Khai, You could try using the debugger threads support (-dt):
$> perl -dt threadedprogram.pl Hopefully this helps? > Tue, 23 Jan 2007 16:34:43 -0800 > I've written a threaded application using perl 5.8.5 with ithreads. The application runs as daemon, and sometimes it hangs. How should I go about debugging this? > > Thanks > Khai Doan -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ ps. Please resend any bounced or unanswered emails.