Aran Donohue <[email protected]> writes:

> I have a program that I can reliably cause to hang. It's concurrent using
> STM, so I think it could be a deadlock or related issue. I also do some IO,
> so I think it could be blocking in a system call.

If it's the latter, 'strace' might help you.  Use 'strace -p PID' to
attach to a running process.  Similarly, 'ltrace' can trace library
calls (but probably less useful in this context?)

(This is on Linux, but other OSes are likely to have similar tools.)

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to