lkr wrote:You could use AspectJ to add logging, but a simple thread dump can give you information on blocked threads.
I had a terrible experience recently. There was a Java class which creates some reports and uses some libraries also. This program was developed very primitively and exceptions not handled properly. Last time I observed that program is running and but no output and but no error prompted. (because exception was catched but not handled no even a system out).
So I would like to know any method or technique to trace the situation of class execution and find what operations are blocked