class JDIEventMonitor extends java.lang.Thread
Modifier and Type | Field and Description |
---|---|
private boolean |
connected |
private JDIEventHandler |
printer |
private com.sun.jdi.VirtualMachine |
vm |
private boolean |
vmDied |
Constructor and Description |
---|
JDIEventMonitor(com.sun.jdi.VirtualMachine jvm) |
Modifier and Type | Method and Description |
---|---|
private void |
classPrepareEvent(com.sun.jdi.event.ClassPrepareEvent event) |
private void |
classUnloadEvent(com.sun.jdi.event.ClassUnloadEvent event) |
private void |
exceptionEvent(com.sun.jdi.event.ExceptionEvent event) |
private void |
handleDisconnectedException() |
private void |
handleEvent(com.sun.jdi.event.Event event) |
private void |
methodEntryEvent(com.sun.jdi.event.MethodEntryEvent event) |
private void |
methodExitEvent(com.sun.jdi.event.MethodExitEvent event) |
private void |
modificationWatchpointEvent(com.sun.jdi.event.ModificationWatchpointEvent event) |
private void |
monitorContendedEnteredEvent(com.sun.jdi.event.MonitorContendedEnteredEvent event) |
private void |
monitorContendedEnterEvent(com.sun.jdi.event.MonitorContendedEnterEvent event) |
private void |
monitorWaitedEvent(com.sun.jdi.event.MonitorWaitedEvent event) |
private void |
monitorWaitEvent(com.sun.jdi.event.MonitorWaitEvent event) |
void |
run() |
private void |
setEventRequests() |
private void |
stepEvent(com.sun.jdi.event.StepEvent event) |
private void |
threadDeathEvent(com.sun.jdi.event.ThreadDeathEvent event) |
private void |
threadStartEvent(com.sun.jdi.event.ThreadStartEvent event) |
private void |
vmDeathEvent(com.sun.jdi.event.VMDeathEvent event) |
private void |
vmDisconnectEvent(com.sun.jdi.event.VMDisconnectEvent event) |
private void |
vmStartEvent(com.sun.jdi.event.VMStartEvent event) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
private final com.sun.jdi.VirtualMachine vm
private boolean connected
private boolean vmDied
private final JDIEventHandler printer
public JDIEventMonitor(com.sun.jdi.VirtualMachine jvm)
private void setEventRequests()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
private void handleEvent(com.sun.jdi.event.Event event)
private void handleDisconnectedException()
private void vmStartEvent(com.sun.jdi.event.VMStartEvent event)
private void vmDeathEvent(com.sun.jdi.event.VMDeathEvent event)
private void vmDisconnectEvent(com.sun.jdi.event.VMDisconnectEvent event)
private void classPrepareEvent(com.sun.jdi.event.ClassPrepareEvent event)
private void classUnloadEvent(com.sun.jdi.event.ClassUnloadEvent event)
private void threadStartEvent(com.sun.jdi.event.ThreadStartEvent event)
private void threadDeathEvent(com.sun.jdi.event.ThreadDeathEvent event)
private void methodEntryEvent(com.sun.jdi.event.MethodEntryEvent event)
private void methodExitEvent(com.sun.jdi.event.MethodExitEvent event)
private void exceptionEvent(com.sun.jdi.event.ExceptionEvent event)
private void stepEvent(com.sun.jdi.event.StepEvent event)
private void modificationWatchpointEvent(com.sun.jdi.event.ModificationWatchpointEvent event)
private void monitorContendedEnterEvent(com.sun.jdi.event.MonitorContendedEnterEvent event)
private void monitorContendedEnteredEvent(com.sun.jdi.event.MonitorContendedEnteredEvent event)
private void monitorWaitEvent(com.sun.jdi.event.MonitorWaitEvent event)
private void monitorWaitedEvent(com.sun.jdi.event.MonitorWaitedEvent event)