[cp-patches] [PATCH/JDWP] Allow multiple events
keiths at redhat.com
Fri Apr 27 21:31:05 UTC 2007
Well, there was a FIXME listed in Jdwp.notify about dealing with
multiple events. Recent testing with Eclipse has shown that we *do* need
to deal with multiple events (of the same kind). Despite what I would
have thought, when multiple breakpoints are set in a method with
Eclipse, JDT debug will set a CLASS_PREPARE event request for each
breakpoint. Go figure.
The attached patch fixes this "poor" assumption.
2007-04-27 Keith Seitz <keiths at redhat.com>
(getEventRequest): Rename to...
Change return type to array of requests.
Construct a list of all matching events and return
* gnu/classpath/jdwp/Jdwp.java (notify): Use getEventRequests
and send event notifications for all matching requests.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4401 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20070427/ecc5e248/cp-multiple-events.bin
More information about the Classpath-patches