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.

Method Index

 o breakpointEvent(RemoteThread)
A breakpoint has been hit in the specified thread.
 o exceptionEvent(RemoteThread, String)
An exception has occurred.
 o printToConsole(String)
Print text to the debugger's console window.
 o quitEvent()
The client interpreter has exited, either by returning from its main thread, or by calling System.exit().
 o threadDeathEvent(RemoteThread)
A thread has died.

Methods

 o printToConsole
  public abstract void printToConsole(String text) throws Exception
Print text to the debugger's console window.
 o breakpointEvent
  public abstract void breakpointEvent(RemoteThread t) throws Exception
A breakpoint has been hit in the specified thread.
 o exceptionEvent
  public abstract void exceptionEvent(RemoteThread t,
                                      String errorText) throws Exception
An exception has occurred.
 o threadDeathEvent
  public abstract void threadDeathEvent(RemoteThread t) throws Exception
A thread has died.
 o 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