[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jdt-debug-dev] Multiplexing JDI client frontend to single back-end
|
>
> Hi.
>
> I want to have a single JDI back-end connected to multiplex JDI
front-ends.
>
> My intention is to multiplex input from the front-ends to the single
> JDI backend, which than sends this via JDWP to a single JVM.
>
> Later the events are broadcastet to the front-ends or if it is a
> response to a value request delivered to the requesting JDI front-end.
>
> So it should be possible to have a mult-user debugger.
>
> Do you have any suggestions or experience on doing this?
>
I have not tried this myself. However, I think there are some limitations
in JDI/JDWP to be aware of. For example, when a user steps, a step request
is created and then the thread that is being stepped is resumed. There is
a notification (event) when the step completes, but there is no event when
the step starts. Similarly, when a thread is resumed from a breakpoint
there is no resume event. Thus, you will need to do something special to
synch all clients for these types of operations.
Darin