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.RemoteException
void removeBreakpoint(Breakpoint breakpoint) throws java.rmi.RemoteException
breakpoint
- the breakpoint to removejava.rmi.RemoteException
void removeBreakpoints(java.lang.String templateName) throws java.rmi.RemoteException
templateName
- java.rmi.RemoteException
void removeBreakpoints() throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.List getBreakpoints() throws java.rmi.RemoteException
Breakpoint
objects.java.rmi.RemoteException
java.util.List getBreakpoints(java.lang.String templateName) throws java.rmi.RemoteException
Breakpoint
objects for the specified
template.java.rmi.RemoteException
java.util.Collection getSuspendedEnvironments() throws java.rmi.RemoteException
DebuggedEnvironment
objects that
are currently suspended.java.rmi.RemoteException
java.lang.Object addDebuggerListener(DebuggerListener listener) throws java.rmi.RemoteException
removeDebuggerListener(Object)
to remove this listener.java.rmi.RemoteException
void 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