[JPDA] Managing the thread to debug

Is there a way to selectively debug certain thread(s) but not others?

I am developing a servlet/JSP application executing under the Tomcat 4.1.18 servlet engine (managed independent of IDEA). I am debugging it using IDEA's support for JPDA.

Now, suppose there are two user sessions in execution in the container. How can I indicate that I wish to debug only one of these threads?

Also, if both threads are at a (possibly different) breakpoint, can one resume only one of the threads? I have found that clicking the "Resume Program" icon results in both the threads resuming.


Please sign in to leave a comment.