| java.lang.Object freemarker.debug.DebuggerClient
DebuggerClient | public class DebuggerClient (Code) | | A utility class that allows you to connect to the FreeMarker debugger service
running on a specific host and port.
author: Attila Szegedi version: $Id: DebuggerClient.java,v 1.3.2.1 2006/11/27 07:54:19 szegedia Exp $ |
getDebugger | public static Debugger getDebugger(InetAddress host, int port, String password) throws IOException(Code) | | Connects to the FreeMarker debugger service running on a specific host
and port. The Java VM to which the connection is made must have defined
the system property freemarker.debug.password in order to enable
the debugger service. Additionally, the freemarker.debug.port
system property can be set to specify the port where the debugger service
is listening. When not specified, it defaults to
Debugger.DEFAULT_PORT .
Parameters: host - the host address of the machine where the debugger service isrunning. Parameters: port - the port of the debugger service Parameters: password - the password required to connect to the debugger service Debugger a debugger object. null is returned in case incorrectpassword was supplied. throws: IOException - if an exception occurs. |
|
|