Packages This Package Previous Next Index
Interface sun.tools.debug.DebuggerCallback
- public interface DebuggerCallback
- extends Object
The DebuggerCallback interface is used to communicate asynchronous
information from the debugger to its client. This may be the actual
client object, or a delegate of its choosing.
-
breakpointEvent(RemoteThread)
- A breakpoint has been hit in the specified thread.
-
exceptionEvent(RemoteThread, String)
- An exception has occurred.
-
printToConsole(String)
- Print text to the debugger's console window.
-
quitEvent()
- The client interpreter has exited, either by returning from its
main thread, or by calling System.exit().
-
threadDeathEvent(RemoteThread)
- A thread has died.
printToConsole
public abstract void printToConsole(String text) throws Exception
- Print text to the debugger's console window.
breakpointEvent
public abstract void breakpointEvent(RemoteThread t) throws Exception
- A breakpoint has been hit in the specified thread.
exceptionEvent
public abstract void exceptionEvent(RemoteThread t,
String errorText) throws Exception
- An exception has occurred.
threadDeathEvent
public abstract void threadDeathEvent(RemoteThread t) throws Exception
- A thread has died.
quitEvent
public abstract void quitEvent() throws Exception
- The client interpreter has exited, either by returning from its
main thread, or by calling System.exit().
Packages This Package Previous Next Index