Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-debug-dev] Different usage of eclipse jdi lib and sun implementation




On Fri, Jun 18, 2010 at 9:30 PM, Darin Wright <Darin_Wright@xxxxxxxxxx> wrote:
>
> Thanks Darin. The problem is the EventQueue's remove() method keeps
> waiting after the vm started when running with JDT's JDI while it
> runs well with Sun's JDI
>

The spec for the remove() method is "Waits forever for the next available
event."


Yes I know that. So the problem is supposed to that the next available event never comes.
 
Found here:

http://java.sun.com/javase/6/docs/jdk/api/jpda/jdi/com/sun/jdi/event/EventQueue.html#remove()

Perhaps you need to resume the VM after startup to get it running (the
connection parameters indicate it will suspend on startup).

I've tried this and it fails as well. Furthermore, as I said before, this code runs perfectly well with Sun's JDI...
 

Darin
_______________________________________________
jdt-debug-dev mailing list
jdt-debug-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jdt-debug-dev


Best wishes
Daniel Gong 


Back to the top