Debugger sometimes gets "dead locked" with multiple threads

When I'm debugging a multi-threaded application with IDEA, the application sometimes stops responding. What happens is this: I'm stepping with one thread and suddenly another thread hits a break point. I press "Resume program" but IDEA never returns to the original thread, i.e. the one I was stepping with when the other breakpoint occurred. After that, the application (or at least the original thread) stops responding completely.

Has anybody else seen this problem? It does not occur frequently but when it does it is always as annoying because I'm forced to restart the application I am debugging.

Please sign in to leave a comment.