APIdia Launch Partner
Top Description Methods
com.sun.jdi.event

public Interface VMDisconnectEvent

extends Event
Known Direct Implementers
com.sun.tools.jdi.EventSetImpl.VMDisconnectEventImpl
Imports
com.sun.jdi.VirtualMachine, com.sun.jdi.request.EventRequest

Notification of disconnection from target VM. May be caused by normal termination of a VM, VM termination by uncaught exception or other error, debugger action (VirtualMachine#dispose or VirtualMachine#exit) or by external events (for example, target process termination by the operating system, transport termination, etc).

If the target VM terminates before the disconnection, this event will be preceded by a VMDeathEvent.

This event is always sent. There is no corresponding EventRequest. The enclosing singleton EventSet always has a suspend policy of EventRequest#SUSPEND_NONE.

Author
Robert Field
Since
1.3
See Also
VMDeathEvent, EventQueue, VirtualMachine

Method Summary

Inherited from com.sun.jdi.event.Event:
request