freemarker.debug
Interface Debugger
- Remote
public interface Debugger
extends Remote
The main debugger interface. Allows management of breakpoints as well as
installation of listeners for debug events.
$Id: Debugger.java,v 1.1 2003/05/02 15:55:48 szegedia Exp $
DEFAULT_PORT
public static final int DEFAULT_PORT
addBreakpoint
public void addBreakpoint(Breakpoint breakpoint)
throws RemoteException
Adds a breakpoint
breakpoint
- the breakpoint to add
addDebuggerListener
public Object addDebuggerListener(DebuggerListener listener)
throws RemoteException
Adds a listener for debugger events.
getBreakpoints
public List getBreakpoints()
throws RemoteException
getBreakpoints
public List getBreakpoints(String templateName)
throws RemoteException
Retrieves a list of all
Breakpoint
objects for the specified
template.
getSuspendedEnvironments
public Collection getSuspendedEnvironments()
throws RemoteException
removeBreakpoint
public void removeBreakpoint(Breakpoint breakpoint)
throws RemoteException
Removes a single breakpoint
breakpoint
- the breakpoint to remove
removeBreakpoints
public void removeBreakpoints()
throws RemoteException
Removes all breakpoints
removeBreakpoints
public void removeBreakpoints(String templateName)
throws RemoteException
Removes all breakpoints for a specific template
removeDebuggerListener
public void removeDebuggerListener(Object id)
throws RemoteException
Removes a previously added debugger listener.