Skip to Content
author's profile photo Former Member
Former Member

Multiple Remote Debug Sessions

I have a feeling that I know the answer but will ask anyway. Is there any way to set up WebAS so that more than one developer can have a remote debug session at the same time? All of the documentation that I have seen on implies that it is one debug session per Java instance. I would like to know if you can set up more than one simultaneous debug session on the same instance.

My guess is no since each developer needs a port to connect to. Is that true?



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Nov 18, 2005 at 07:17 AM

    As for a I know your guess is correct and the answer is 'no'. The reason is that the debug port is under control of the java vm, not the java application. And it looks like the vm closes the TCP listening port as soon as a single connection has been established. Only after the connection is closed, the vm reopens the listening port.

    The problem is probably at the OS process level itself; if two remote debuggers took control over one process and one issued a stop while the other asks the process to continue then it's for both debuggers pretty undeterministic in what state the process is running now.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.