public interface Debugger
extends java.rmi.Remote
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PORT |
| Modifier and Type | Method and Description |
|---|---|
void |
addBreakpoint(Breakpoint breakpoint)
Adds a breakpoint
|
java.lang.Object |
addDebuggerListener(DebuggerListener listener)
Adds a listener for debugger events.
|
java.util.List |
getBreakpoints()
Retrieves a list of all
Breakpoint objects. |
java.util.List |
getBreakpoints(java.lang.String templateName)
Retrieves a list of all
Breakpoint objects for the specified
template. |
java.util.Collection |
getSuspendedEnvironments()
Retrieves a collection of all
DebuggedEnvironment objects that
are currently suspended. |
void |
removeBreakpoint(Breakpoint breakpoint)
Removes a single breakpoint
|
void |
removeBreakpoints()
Removes all breakpoints
|
void |
removeBreakpoints(java.lang.String templateName)
Removes all breakpoints for a specific template
|
void |
removeDebuggerListener(java.lang.Object id)
Removes a previously added debugger listener.
|
static final int DEFAULT_PORT
void addBreakpoint(Breakpoint breakpoint) throws java.rmi.RemoteException
breakpoint - the breakpoint to addjava.rmi.RemoteExceptionvoid removeBreakpoint(Breakpoint breakpoint) throws java.rmi.RemoteException
breakpoint - the breakpoint to removejava.rmi.RemoteExceptionvoid removeBreakpoints(java.lang.String templateName)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionvoid removeBreakpoints()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionjava.util.List getBreakpoints()
throws java.rmi.RemoteException
Breakpoint objects.java.rmi.RemoteExceptionjava.util.List getBreakpoints(java.lang.String templateName)
throws java.rmi.RemoteException
Breakpoint objects for the specified
template.java.rmi.RemoteExceptionjava.util.Collection getSuspendedEnvironments()
throws java.rmi.RemoteException
DebuggedEnvironment objects that
are currently suspended.java.rmi.RemoteExceptionjava.lang.Object addDebuggerListener(DebuggerListener listener) throws java.rmi.RemoteException
removeDebuggerListener(Object) to remove this listener.java.rmi.RemoteExceptionvoid removeDebuggerListener(java.lang.Object id)
throws java.rmi.RemoteException
id - the identification token for the listener that was returned
from a prior call to addDebuggerListener(DebuggerListener).java.rmi.RemoteException