All Packages Class Hierarchy This Package Previous Next Index
Interface sun.tools.debug.DebuggerCallback
- public interface DebuggerCallback
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.
- Throws: Exception
- if a general exception occurs.
breakpointEvent
public abstract void breakpointEvent(RemoteThread t) throws Exception
- A breakpoint has been hit in the specified thread.
- Throws: Exception
- if a general exception occurs.
exceptionEvent
public abstract void exceptionEvent(RemoteThread t,
String errorText) throws Exception
- An exception has occurred.
- Throws: Exception
- if a general exception occurs.
threadDeathEvent
public abstract void threadDeathEvent(RemoteThread t) throws Exception
- A thread has died.
- Throws: Exception
- if a general exception occurs.
quitEvent
public abstract void quitEvent() throws Exception
- The client interpreter has exited, either by returning from its
main thread, or by calling System.exit().
- Throws: Exception
- if a general exception occurs.
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature