title: How to Debug a deadlock in Java using Eclipse
body: <p>What techniques can one use to debug what appears to be a deadlock in a Java program.
  My IDE is Eclipse and I think I've identifid the two deadlocked threads. In the debugger, right-clicking any of the threads in question and selecting suspend suspends the thread and displays the code currently being executed. Attempting step-into or step-over the line question appears to have no effect - the thread state changes to "Stepping" with control never returning to the debugger unless suspend is clicked again.<br>
  Thanks</p>