public interface Debugger
| Modifier and Type | Interface and Description |
|---|---|
static class |
Debugger.HistoryType |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEBUGGER_FETCH_LIMIT
Maximum number of items returned in any single retrieval
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearBreakpoints()
Delete all breakpoints
|
void |
deleteBreakpoint(int id) |
void |
enableBreakpoint(int id,
int triggerInterval)
Setting trigger interval to 0 disables a breakpoint
|
DebuggerItem[] |
getAggregateGroups(java.lang.String stream,
int startPos,
int fetchLimit,
java.lang.String filter) |
DebuggerItem[] |
getBadRowReasons(java.lang.String stream,
int startPos,
int fetchLimit,
java.lang.String filter) |
DebuggerItem[] |
getBadRows(java.lang.String stream,
int startPos,
int fetchLimit,
java.lang.String filter) |
Breakpoint[] |
getBreakpoints()
Retrieve all breakpoints currently set
|
DebuggerItem[] |
getHistory(java.lang.String stream,
Debugger.HistoryType type,
int startPos,
int fetchLimit,
java.lang.String filter) |
DebuggerItem[] |
getHistoryAt(java.lang.String stream,
Debugger.HistoryType type,
int index) |
int |
getHistorySize(java.lang.String stream) |
DebuggerItem[] |
getInputRow(java.lang.String stream,
int startPos,
int fetchLimit,
java.lang.String filter) |
DebuggerItem[] |
getInputTransaction(java.lang.String stream,
int startPos,
int fetchLimit,
java.lang.String filter) |
DebuggerItem[] |
getLastTransaction(java.lang.String stream,
Debugger.HistoryType type)
Utility method.
|
DebuggerItem[] |
getOutputRow(java.lang.String stream,
int startPos,
int fetchLimit,
java.lang.String filter) |
DebuggerItem[] |
getOutputTransaction(java.lang.String stream,
int startPos,
int fetchLimit,
java.lang.String filter) |
DebuggerItem[] |
getParameter(java.lang.String paramName) |
DebuggerItem[] |
getPatternStreamBindings(java.lang.String patternStream,
int startPos,
int fetchLimit,
java.lang.String filter) |
DebuggerItem[] |
getPatternStreamBindingsAt(java.lang.String patternStream,
int patternNumber) |
DebuggerItem[] |
getPatternStreamEvents(java.lang.String patternStream,
int startPos,
int fetchLimit,
java.lang.String filter) |
DebuggerItem[] |
getPatternStreamEventsAt(java.lang.String patternStream,
int patternNumber) |
DebuggerItem[] |
getPatternStreamExpects(java.lang.String patternStream,
int startPos,
int fetchLimit,
java.lang.String filter) |
DebuggerItem[] |
getPatternStreamExpectsAt(java.lang.String patternStream,
int patternNumber) |
DebuggerItem[] |
getPatternStreamStates(java.lang.String patternStream,
int startPos,
int fetchLimit,
java.lang.String filter) |
DebuggerItem[] |
getPatternStreamStatesAt(java.lang.String patternStream,
int patternNumber) |
PauseState[] |
getPauseStates(boolean includeSystemStreams,
int startPos,
int fetchLimit,
java.lang.String filter) |
Project |
getProject() |
DebuggerItem[] |
getQueueHead(java.lang.String stream,
int idx)
If the requested row is not found DebuggerError - 'No such object' is thrown
|
DebuggerItem[] |
getQueueRows(java.lang.String stream,
int startPos,
int fetchLimit,
java.lang.String filter) |
DebuggerItem[] |
getQueueTail(java.lang.String stream,
int idx)
If the requested row is not found DebuggerError - 'No such object' is thrown
|
DebuggerItem[] |
getReverseHistoryAt(java.lang.String stream,
Debugger.HistoryType type,
int index) |
DebuggerItem[] |
getStoreRows(java.lang.String stream,
int startPos,
int fetchLimit,
java.lang.String filter)
Retrieve the contents of the store for this stream
|
DebuggerItem[] |
getVariable(java.lang.String stream,
java.lang.String varName)
null for stream name returns global variables
|
java.util.Map<java.lang.String,java.lang.String> |
getVariableNames(java.lang.String stream)
Passing null for the stream name returns global variables
|
boolean |
isPaused() |
boolean |
isTraceModeOn() |
void |
pause() |
void |
resume() |
void |
resumeAndWaitForBreak() |
void |
setHistorySize(java.lang.String stream,
int newSize) |
int |
setInputBreakpoint(java.lang.String stream,
java.lang.String expression,
int triggerInterval) |
int |
setInputBreakpoint(java.lang.String stream,
java.lang.String inputStream,
java.lang.String expression,
int triggerInterval) |
int |
setOutputBreakpoint(java.lang.String stream,
java.lang.String expression,
int triggerInterval) |
void |
startDebugging() |
void |
step(int steps)
Steps a single row on any stream that is scheduled for running
|
void |
stepQuiesceDerivedStreams(int steps) |
void |
stepQuiesceDescendants(java.lang.String stream,
int steps) |
void |
stepQuiesceStreamAndDescendants(java.lang.String stream,
int steps) |
void |
stepStream(java.lang.String stream,
int steps)
Steps the specified stream a single row
|
void |
stepTransaction(int steps) |
void |
stopDebugging() |
void |
waitForBreak() |
static final int DEBUGGER_FETCH_LIMIT
Project getProject()
void startDebugging()
throws java.io.IOException,
DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionvoid stopDebugging()
throws java.io.IOException,
DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionboolean isTraceModeOn()
throws java.io.IOException,
DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionvoid pause()
throws DebuggerErrorException,
java.io.IOException
DebuggerErrorExceptionjava.io.IOExceptionboolean isPaused()
throws DebuggerErrorException,
java.io.IOException
DebuggerErrorExceptionjava.io.IOExceptionvoid resume()
throws DebuggerErrorException,
java.io.IOException
DebuggerErrorExceptionjava.io.IOExceptionvoid waitForBreak()
throws DebuggerErrorException,
java.io.IOException
DebuggerErrorExceptionjava.io.IOExceptionvoid resumeAndWaitForBreak()
throws DebuggerErrorException,
java.io.IOException
DebuggerErrorExceptionjava.io.IOExceptionvoid step(int steps)
throws DebuggerErrorException,
java.io.IOException
steps - DebuggerErrorExceptionjava.io.IOExceptionvoid stepTransaction(int steps)
throws DebuggerErrorException,
java.io.IOException
steps - java.io.IOExceptionDebuggerErrorExceptionvoid stepStream(java.lang.String stream,
int steps)
throws DebuggerErrorException,
java.io.IOException
stream - steps - DebuggerErrorExceptionjava.io.IOExceptionvoid stepQuiesceStreamAndDescendants(java.lang.String stream,
int steps)
throws DebuggerErrorException,
java.io.IOException
DebuggerErrorExceptionjava.io.IOExceptionvoid stepQuiesceDescendants(java.lang.String stream,
int steps)
throws DebuggerErrorException,
java.io.IOException
DebuggerErrorExceptionjava.io.IOExceptionvoid stepQuiesceDerivedStreams(int steps)
throws DebuggerErrorException,
java.io.IOException
DebuggerErrorExceptionjava.io.IOExceptionint setOutputBreakpoint(java.lang.String stream,
java.lang.String expression,
int triggerInterval)
throws java.io.IOException,
DebuggerErrorException
stream - expression - triggerInterval - java.io.IOExceptionDebuggerErrorExceptionint setInputBreakpoint(java.lang.String stream,
java.lang.String expression,
int triggerInterval)
throws java.io.IOException,
DebuggerErrorException
stream - expression - triggerInterval - java.io.IOExceptionDebuggerErrorExceptionint setInputBreakpoint(java.lang.String stream,
java.lang.String inputStream,
java.lang.String expression,
int triggerInterval)
throws java.io.IOException,
DebuggerErrorException
stream - inputStream - expression - triggerInterval - java.io.IOExceptionDebuggerErrorExceptionvoid deleteBreakpoint(int id)
throws java.io.IOException,
DebuggerErrorException
id - java.io.IOExceptionDebuggerErrorExceptionvoid enableBreakpoint(int id,
int triggerInterval)
throws java.io.IOException,
DebuggerErrorException
id - triggerInterval - java.io.IOExceptionDebuggerErrorExceptionBreakpoint[] getBreakpoints() throws java.io.IOException, DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionvoid clearBreakpoints()
throws java.io.IOException,
DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionPauseState[] getPauseStates(boolean includeSystemStreams, int startPos, int fetchLimit, java.lang.String filter) throws java.io.IOException, DebuggerErrorException
DebuggerErrorExceptionjava.io.IOExceptionDebuggerItem[] getVariable(java.lang.String stream, java.lang.String varName) throws java.io.IOException, DebuggerErrorException
stream - DebuggerErrorExceptionjava.io.IOExceptionjava.util.Map<java.lang.String,java.lang.String> getVariableNames(java.lang.String stream)
throws java.io.IOException,
DebuggerErrorException
stream - java.io.IOExceptionDebuggerErrorExceptionDebuggerItem[] getAggregateGroups(java.lang.String stream, int startPos, int fetchLimit, java.lang.String filter) throws java.io.IOException, DebuggerErrorException
stream - expression - fetchLimit - startIndex - java.io.IOExceptionDebuggerErrorExceptionDebuggerItem[] getStoreRows(java.lang.String stream, int startPos, int fetchLimit, java.lang.String filter) throws java.io.IOException, DebuggerErrorException
stream - java.io.IOExceptionDebuggerErrorExceptionDebuggerItem[] getParameter(java.lang.String paramName) throws java.io.IOException, DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionDebuggerItem[] getOutputTransaction(java.lang.String stream, int startPos, int fetchLimit, java.lang.String filter) throws java.io.IOException, DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionDebuggerItem[] getOutputRow(java.lang.String stream, int startPos, int fetchLimit, java.lang.String filter) throws java.io.IOException, DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionDebuggerItem[] getInputTransaction(java.lang.String stream, int startPos, int fetchLimit, java.lang.String filter) throws java.io.IOException, DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionDebuggerItem[] getInputRow(java.lang.String stream, int startPos, int fetchLimit, java.lang.String filter) throws java.io.IOException, DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionDebuggerItem[] getQueueRows(java.lang.String stream, int startPos, int fetchLimit, java.lang.String filter) throws java.io.IOException, DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionDebuggerItem[] getQueueHead(java.lang.String stream, int idx) throws java.io.IOException, DebuggerErrorException
stream - idx - java.io.IOExceptionDebuggerErrorExceptionDebuggerItem[] getQueueTail(java.lang.String stream, int idx) throws java.io.IOException, DebuggerErrorException
stream - idx - java.io.IOExceptionDebuggerErrorExceptionDebuggerItem[] getBadRows(java.lang.String stream, int startPos, int fetchLimit, java.lang.String filter) throws java.io.IOException, DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionDebuggerItem[] getBadRowReasons(java.lang.String stream, int startPos, int fetchLimit, java.lang.String filter) throws java.io.IOException, DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionint getHistorySize(java.lang.String stream)
throws java.io.IOException,
DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionvoid setHistorySize(java.lang.String stream,
int newSize)
throws java.io.IOException,
DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionDebuggerItem[] getHistory(java.lang.String stream, Debugger.HistoryType type, int startPos, int fetchLimit, java.lang.String filter) throws java.io.IOException, DebuggerErrorException
stream - type - java.io.IOExceptionDebuggerErrorExceptionDebuggerItem[] getHistoryAt(java.lang.String stream, Debugger.HistoryType type, int index) throws java.io.IOException, DebuggerErrorException
stream - type - index - DebuggerErrorExceptionjava.io.IOExceptionDebuggerItem[] getReverseHistoryAt(java.lang.String stream, Debugger.HistoryType type, int index) throws java.io.IOException, DebuggerErrorException
stream - type - index - DebuggerErrorExceptionjava.io.IOExceptionDebuggerItem[] getLastTransaction(java.lang.String stream, Debugger.HistoryType type) throws java.io.IOException, DebuggerErrorException
#getHistory(String, HistoryType, int) with index set to 0.stream - type - DebuggerErrorExceptionjava.io.IOExceptionDebuggerItem[] getPatternStreamStates(java.lang.String patternStream, int startPos, int fetchLimit, java.lang.String filter) throws java.io.IOException, DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionDebuggerItem[] getPatternStreamBindings(java.lang.String patternStream, int startPos, int fetchLimit, java.lang.String filter) throws java.io.IOException, DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionDebuggerItem[] getPatternStreamEvents(java.lang.String patternStream, int startPos, int fetchLimit, java.lang.String filter) throws java.io.IOException, DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionDebuggerItem[] getPatternStreamExpects(java.lang.String patternStream, int startPos, int fetchLimit, java.lang.String filter) throws java.io.IOException, DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionDebuggerItem[] getPatternStreamStatesAt(java.lang.String patternStream, int patternNumber) throws java.io.IOException, DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionDebuggerItem[] getPatternStreamBindingsAt(java.lang.String patternStream, int patternNumber) throws java.io.IOException, DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionDebuggerItem[] getPatternStreamEventsAt(java.lang.String patternStream, int patternNumber) throws java.io.IOException, DebuggerErrorException
java.io.IOExceptionDebuggerErrorExceptionDebuggerItem[] getPatternStreamExpectsAt(java.lang.String patternStream, int patternNumber) throws java.io.IOException, DebuggerErrorException
java.io.IOExceptionDebuggerErrorException