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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBreakpoint(Breakpoint breakpoint)
Adds a breakpointaddDebuggerListener(DebuggerListener listener)
Adds a listener for debugger events.Retrieves a list of allBreakpoint
objects.getBreakpoints(String templateName)
Retrieves a list of allBreakpoint
objects for the specified template.Retrieves a collection of allDebuggedEnvironment
objects that are currently suspended.void
removeBreakpoint(Breakpoint breakpoint)
Removes a single breakpointvoid
Removes all breakpointsvoid
removeBreakpoints(String templateName)
Removes all breakpoints for a specific templatevoid
Removes 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 allBreakpoint
objects.- Throws:
RemoteException
-
getBreakpoints
Retrieves a list of allBreakpoint
objects for the specified template.- Throws:
RemoteException
-
getSuspendedEnvironments
Retrieves a collection of allDebuggedEnvironment
objects 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
-