Package org.eclipse.wst.xsl.debugger
public class DebugRunner extends java.lang.ObjectThe entry point to the debug process which is responsible for configuring a debugger and then communicating with the Eclipse process via sockets using a common set of commands.
IXSLDebugger
Constructor Summary |
DebugRunner(java.io.BufferedReader requestIn
,
java.io.PrintWriter requestOut
,
java.io.PrintWriter eventOut) |
DebugRunner(int requestPort
,
int eventPort) |
Method Summary | |
public void | dispose()Dispose of this - close all open sockets. |
public void | loop(org.eclipse.wst.xsl.debugger.IXSLDebugger debugger)This method starts the given debugger in its own thread, and blocks while waiting for incoming requests from the request port, until there are no more requests. |
public static void | main(java.lang.String[] args)Expected arguments:
|
Constructor Detail |
public DebugRunner(java.io.BufferedReader requestIn
,
java.io.PrintWriter requestOut
,
java.io.PrintWriter eventOut)
Create a new instance of this using the supplied readers and writers.
public DebugRunner(int requestPort
,
int eventPort)
Create a new instance of this given a request port and an event port.
Methods Detail |
public void dispose()
Dispose of this - close all open sockets.
public void loop(org.eclipse.wst.xsl.debugger.IXSLDebugger debugger)
This method starts the given debugger in its own thread, and blocks while waiting for incoming requests from the request port, until there are no more requests.
debugger - the debugger to start in a thread
org.eclipse.wst.xsl.invoker.TransformationException - if a problem occurred while transforming
public void main(java.lang.String[] args)
Expected arguments:
IXSLDebugger instance
args