public class VMDebugManager extends Object
VMDebugManager Manages debug sessions and handle debug related actions.| Modifier and Type | Method and Description |
|---|---|
void |
addDebugSession(io.netty.channel.Channel channel)
Set debug channel.
|
VMDebugSession |
getDebugSession() |
static VMDebugManager |
getInstance()
Debug manager singleton.
|
org.wso2.siddhi.core.SiddhiManager |
getSiddhiManager() |
void |
mainInit(String siddhiAppPath,
String siddhiApp,
String inputFile)
Initializes the debug manager single instance.
|
void |
notifyComplete(VMDebugSession debugSession)
Notify client when debugger has finish execution.
|
void |
notifyDebugHit(VMDebugSession debugSession,
BreakPointInfo breakPointInfo)
Send a message to the debug client when a breakpoint is hit.
|
void |
notifyExit(VMDebugSession debugSession)
Notify client when the debugger is exiting.
|
void |
processDebugCommand(String json)
Process debug command.
|
public static VMDebugManager getInstance()
public VMDebugSession getDebugSession()
public org.wso2.siddhi.core.SiddhiManager getSiddhiManager()
public void mainInit(String siddhiAppPath, String siddhiApp, String inputFile)
public void processDebugCommand(String json)
json - the jsonpublic void addDebugSession(io.netty.channel.Channel channel)
throws DebugException
channel - the channelDebugExceptionpublic void notifyDebugHit(VMDebugSession debugSession, BreakPointInfo breakPointInfo)
debugSession - current debugging sessionbreakPointInfo - info of the current break pointpublic void notifyComplete(VMDebugSession debugSession)
debugSession - current debugging sessionpublic void notifyExit(VMDebugSession debugSession)
debugSession - current debugging sessionCopyright © 2017 WSO2. All rights reserved.