debugging threads

Is there a best practive on debugging applications that use more then 5-10 threads?
I have trouble getting IDEA to stay with one thread. It jumps from thread to thread.
NOTE, I have clicked the "suspend all threads while stepping" and it still doesn't work.

Any Ideas? I use version 3.0.5.

Cheers,
Shahram

1 comment

I am also looking for tips on how to best debug an application that uses multiple threads. In my case, I am attaching Idea to a J2EE application running on JBoss. My breakpoint gets hit on multiple threads and when stepping through the first hit, IDEA will preempt this and switch to the next thread hit. Turning on "Suspend all threads while stepping" does not prevent this from happening.

0

Please sign in to leave a comment.