Package io.siddhi.core.debugger
Class SiddhiDebuggerClient
- java.lang.Object
-
- io.siddhi.core.debugger.SiddhiDebuggerClient
-
public class SiddhiDebuggerClient extends Object
SiddhiDebuggerClient is a commandline tool to feed siddhi app and input from text files and debug the query at the runtime. It accepts the following commands: - add breakpoint query:TERMINAL - Adding a new breakpoint. Eg:add breakpoint query1:IN - remove breakpoint query:TERMINAL - Adding a new breakpoint. Eg:remove breakpoint query1:IN - start - Start sending input - stop - Stop the debugger - next - Move to the next checkpoint - play - Skip the current checkpoint
-
-
Constructor Summary
Constructors Constructor Description SiddhiDebuggerClient()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)Main method of the SiddhiDebuggerClient.voidstart(String siddhiApp, String input)Start theSiddhiDebuggerClientand configure the breakpoints.
-
-
-
Method Detail
-
main
public static void main(String[] args)
Main method of the SiddhiDebuggerClient.- Parameters:
args- two arguments are expected: siddhi app path and input file path
-
start
public void start(String siddhiApp, String input)
Start theSiddhiDebuggerClientand configure the breakpoints.- Parameters:
siddhiApp- the Siddhi queryinput- the user input as a whole text
-
-