I just spent the last 1/2 hour tracking down a deadlock problem I was lucky enough to capture in the debugger.
It should have taken 5 minutes. Most of my frustration was trying to extract the information out of Idea. I think this is an area ripe for improvement. What I would like to see is a formatted view of the set of locks and waits in the system. This view would contain the threads that Have the lock and the threads that are waiting on the lock. It would be organized by lock and by thread (so I could flip back and forth between the two views (or better yet, have them up side/by/side). Each place where we show a thread waiting on a lock, or having the lock, the code would be navigable to that point where the lock was acquired (the synchronized statement, or synchronized method), or where the thread is currently waiting on the lock. I think idea has all the information needed to provide this kind of view. Clearly this would only be available during debugging, and only while the program is stopped. Comments? Is it even feasible? If not, I'll drop the thought immediately. Mike --- [EMAIL PROTECTED] To obtain my PGP public key, mail "SEND PUB KEY" in the subject to "[EMAIL PROTECTED]" _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-features
