Package org.eclipse.wst.xsl.debugger
public class AbstractDebugger extends java.lang.ObjectAn implementation of
IXSLDebugger.
This class can be subclassed in order to provide debugging for a particular XSLT processor.Constructor Summary |
AbstractDebugger() |
Method Summary | |
public void | addBreakpoint(org.eclipse.wst.xsl.debugger.BreakPoint breakpoint) |
public void | checkStopped()Check whether the debugger has been stopped and perform the appropriate action if so. |
public void | checkSuspended(org.eclipse.wst.xsl.debugger.StyleFrame styleFrame
,
org.eclipse.wst.xsl.debugger.BreakPoint breakpoint)Check whether the debugger is currently suspended or stepping at the given breakpoint and style frame, and perform the appropriate action if so. |
protected void | debuggerStarted() |
protected void | debuggerStopped() |
public void | debuggerTransformStarted()Called when the next transform in the pipeline has begun. |
public org.eclipse.wst.xsl.debugger.StyleFrame | peekStyleFrame()Peek a style frame from the stack. |
public org.eclipse.wst.xsl.debugger.StyleFrame | popStyleFrame()Pop a style frame from the stack. |
public void | pushStyleFrame(org.eclipse.wst.xsl.debugger.StyleFrame styleFrame)Push a style frame onto the stack. |
public void | quit() |
public void | removeBreakpoint(org.eclipse.wst.xsl.debugger.BreakPoint breakpoint) |
public void | resume() |
public void | run() |
public void | setEventWriter(java.io.Writer writer) |
public void | setInvoker(org.eclipse.wst.xsl.invoker.IProcessorInvoker invoker) |
public void | setSource(java.net.URL sourceURL) |
public void | setTarget(javax.xml.transform.Result res) |
public java.lang.String | stack() |
public void | stepInto() |
public void | stepOver() |
public void | stepReturn() |
public void | suspend() |
Constructor Detail |
public AbstractDebugger()
Methods Detail |
public void addBreakpoint(org.eclipse.wst.xsl.debugger.BreakPoint breakpoint)
breakpoint
public void checkStopped()
Check whether the debugger has been stopped and perform the appropriate action if so.
public void checkSuspended(org.eclipse.wst.xsl.debugger.StyleFrame styleFrame
,
org.eclipse.wst.xsl.debugger.BreakPoint breakpoint)
Check whether the debugger is currently suspended or stepping at the given breakpoint and style frame, and perform the appropriate action if so.
styleFrame - the styleframe to check
breakpoint - the current location
protected void debuggerStarted()
protected void debuggerStopped()
public void debuggerTransformStarted()
Called when the next transform in the pipeline has begun.
public org.eclipse.wst.xsl.debugger.StyleFrame peekStyleFrame()
Peek a style frame from the stack.
org.eclipse.wst.xsl.debugger.StyleFrame - the peeked style frame
public org.eclipse.wst.xsl.debugger.StyleFrame popStyleFrame()
Pop a style frame from the stack.
org.eclipse.wst.xsl.debugger.StyleFrame - the popped style frame
public void pushStyleFrame(org.eclipse.wst.xsl.debugger.StyleFrame styleFrame)
Push a style frame onto the stack.
styleFrame
public void quit()
public void removeBreakpoint(org.eclipse.wst.xsl.debugger.BreakPoint breakpoint)
breakpoint
public void resume()
public void run()
public void setEventWriter(java.io.Writer writer)
writer
public void setInvoker(org.eclipse.wst.xsl.invoker.IProcessorInvoker invoker)
invoker
public void setSource(java.net.URL sourceURL)
sourceURL
public void setTarget(javax.xml.transform.Result res)
res
public java.lang.String stack()
java.lang.String
public void stepInto()
public void stepOver()
public void stepReturn()
public void suspend()