Package freemarker.debug
Interface Debugger
- All Superinterfaces:
Remote
The main debugger interface. Allows management of breakpoints as well as
installation of listeners for debug events.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBreakpoint(Breakpoint breakpoint)Adds a breakpointaddDebuggerListener(DebuggerListener listener)Adds a listener for debugger events.Retrieves a list of allBreakpointobjects.getBreakpoints(String templateName)Retrieves a list of allBreakpointobjects for the specified template.Retrieves a collection of allDebuggedEnvironmentobjects that are currently suspended.voidremoveBreakpoint(Breakpoint breakpoint)Removes a single breakpointvoidRemoves all breakpointsvoidremoveBreakpoints(String templateName)Removes all breakpoints for a specific templatevoidRemoves a previously added debugger listener.
-
Field Details
-
DEFAULT_PORT
static final int DEFAULT_PORT- See Also:
- Constant Field Values
-
-
Method Details
-
addBreakpoint
Adds a breakpoint- Parameters:
breakpoint- the breakpoint to add- Throws:
RemoteException
-
removeBreakpoint
Removes a single breakpoint- Parameters:
breakpoint- the breakpoint to remove- Throws:
RemoteException
-
removeBreakpoints
Removes all breakpoints for a specific template- Throws:
RemoteException
-
removeBreakpoints
Removes all breakpoints- Throws:
RemoteException
-
getBreakpoints
Retrieves a list of allBreakpointobjects.- Throws:
RemoteException
-
getBreakpoints
Retrieves a list of allBreakpointobjects for the specified template.- Throws:
RemoteException
-
getSuspendedEnvironments
Retrieves a collection of allDebuggedEnvironmentobjects that are currently suspended.- Throws:
RemoteException
-
addDebuggerListener
Adds a listener for debugger events.- Returns:
- an identification token that should be passed to
removeDebuggerListener(Object)to remove this listener. - Throws:
RemoteException
-
removeDebuggerListener
Removes a previously added debugger listener.- Parameters:
id- the identification token for the listener that was returned from a prior call toaddDebuggerListener(DebuggerListener).- Throws:
RemoteException
-