站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.4.1, Java 2 SDK 英文文档

VMStartEvent (Java Debug Interface) - JDK 5 Documentation v1.4.1, Java 2 SDK 英文文档

Java Debug Interface

com.sun.jdi.event
Interface VMStartEvent

All Superinterfaces:
Event, Mirror

public interface VMStartEvent
extends Event

Notification of initialization of a target VM. This event is received before the main thread is started and before any application code has been executed. Before this event occurs a significant amount of system code has executed and a number of system classes have been loaded. This event is always generated by the target VM, even if not explicitly requested.

Since:
1.3
See Also:
VMDeathEvent, EventQueue, VirtualMachine

Method Summary
 ThreadReference thread()
          Returns the initial thread of the VM which has started.
 
Methods inherited from interface com.sun.jdi.event.Event
request
 
Methods inherited from interface com.sun.jdi.Mirror
toString, virtualMachine
 

Method Detail

thread

public ThreadReference thread()
Returns the initial thread of the VM which has started.

Returns:
a ThreadReference which mirrors the event's thread in the target VM.

Java Debug Interface