public abstract class DebuggerAdapter extends java.lang.Object implements DebuggerListener
Extend this class to create a DebuggerEvent
listener
and override the methods for the events of interest.
Create a listener object using your class and then register it with a
debugger using the debugger's addDebuggerListener
method. When a debugger event occurs, the relevant method in the
listener object is invoked, and the DebuggerEvent
is passed to it.
Debugger events are provided for notification purposes ONLY;
The debugger will automatically handle debugger events
internally so that the debugger works properly regardless of
whether a program registers a DebuggerListener
or not.
DebuggerEvent
,
DebuggerListener
Constructor and Description |
---|
DebuggerAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
debuggerFinished(DebuggerEvent e)
Invoked when the debugger is finished.
|
void |
debuggerResuming(DebuggerEvent e)
Invoked when the debugger is resuming.
|
void |
debuggerStarted(DebuggerEvent e)
Invoked when a debugger session starts.
|
void |
debuggerStopping(DebuggerEvent e)
Invoked when the debugger is stopping.
|
public void debuggerStarted(DebuggerEvent e)
debuggerStarted
in interface DebuggerListener
public void debuggerStopping(DebuggerEvent e)
debuggerStopping
in interface DebuggerListener
public void debuggerResuming(DebuggerEvent e)
debuggerResuming
in interface DebuggerListener
public void debuggerFinished(DebuggerEvent e)
debuggerFinished
in interface DebuggerListener