From: Chris Morris Date: 2002-09-14T05:39:47+09:00 Subject: Re: Dump each method called to stdout? > What I've done before is set counters that only print goo every few > minutes + a stack trace. I see what you mean ... but my problem is that each loop basically calls one method which encapsulates a ton of stuff, and it's somewhere in that deep tree of objects calling other objects that it hangs -- I just don't know where. Your solution for my particular problem would simply let me know which time through the loop it hung -- but it's already being inconsistent on which time it hangs (sometimes it's the 7th time through, sometimes the 10th...). I did find this in pickaxe which works great, but unfortunately drastically affected when my program hung (it hangs much earlier now ... sigh): http://www.rubycentral.com/book/ospace.html#S5 (In addition, AspectR was recommended for this sort of thing in previous threads -- but the above solution is much faster to add...) Chris http://clabs.org