Package com.xmlcalabash.debugger
Class CliDebugger
-
- All Implemented Interfaces:
-
com.xmlcalabash.api.Monitor
public final class CliDebugger implements Monitor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
CliDebugger.Breakpoint
public final class
CliDebugger.UnconditionalBreakpoint
public final class
CliDebugger.ConditionalBreakpoint
public final class
CliDebugger.InputBreakpoint
public final class
CliDebugger.OutputBreakpoint
public class
CliDebugger.Catchpoint
public final class
CliDebugger.StackFrame
-
Field Summary
Fields Modifier and Type Field Description private final Terminal
terminal
private LineReader
reader
private final String
prompt
private InvisibleXmlParser
parser
private final Map<Long, Stack<CliDebugger.StackFrame>>
stacks
private final Map<String, List<CliDebugger.Breakpoint>>
breakpoints
private final List<CliDebugger.Catchpoint>
catchpoints
private Boolean
stepping
private Boolean
stopOnEnd
private List<String>
help
private final Map<String, NamespaceUri>
localNamespaces
private final Map<QName, XdmValue>
localVariables
private URI
localBaseUri
private CliDebugger.StackFrame
curFrame
private Stack<CliDebugger.StackFrame>
stack
private Integer
frameNumber
private final List<String>
stepList
private final XProcRuntime
runtime
-
Constructor Summary
Constructors Constructor Description CliDebugger(XProcRuntime runtime)
-
Method Summary
-
-
Constructor Detail
-
CliDebugger
CliDebugger(XProcRuntime runtime)
-
-
Method Detail
-
getTerminal
final Terminal getTerminal()
-
getReader
final LineReader getReader()
-
getParser
final InvisibleXmlParser getParser()
-
getStacks
final Map<Long, Stack<CliDebugger.StackFrame>> getStacks()
-
getBreakpoints
final Map<String, List<CliDebugger.Breakpoint>> getBreakpoints()
-
getCatchpoints
final List<CliDebugger.Catchpoint> getCatchpoints()
-
getStepping
final Boolean getStepping()
-
setStepping
final Unit setStepping(Boolean stepping)
-
getStopOnEnd
final Boolean getStopOnEnd()
-
setStopOnEnd
final Unit setStopOnEnd(Boolean stopOnEnd)
-
getLocalNamespaces
final Map<String, NamespaceUri> getLocalNamespaces()
-
getLocalVariables
final Map<QName, XdmValue> getLocalVariables()
-
getLocalBaseUri
final URI getLocalBaseUri()
-
setLocalBaseUri
final Unit setLocalBaseUri(URI localBaseUri)
-
getCurFrame
final CliDebugger.StackFrame getCurFrame()
-
setCurFrame
final Unit setCurFrame(CliDebugger.StackFrame curFrame)
-
getStack
final Stack<CliDebugger.StackFrame> getStack()
-
setStack
final Unit setStack(Stack<CliDebugger.StackFrame> stack)
-
getFrameNumber
final Integer getFrameNumber()
-
setFrameNumber
final Unit setFrameNumber(Integer frameNumber)
-
getStepList
final List<String> getStepList()
-
getRuntime
final XProcRuntime getRuntime()
-
startStep
Unit startStep(AbstractStep step)
-
endStep
Unit endStep(AbstractStep step)
-
abortStep
Unit abortStep(AbstractStep step, Exception ex)
-
sendDocument
XProcDocument sendDocument(Pair<AbstractStep, String> from, Pair<Consumer, String> to, XProcDocument document)
-
doSubpipeline
final Unit doSubpipeline(Map<String, String> command)
-
doBreakpoint
final Unit doBreakpoint(Map<String, String> command)
-
doCatchpoint
final Unit doCatchpoint(Map<String, String> command)
-
doNamespace
final Unit doNamespace(Map<String, String> command)
-
-
-
-