Package com.fluxtion.builder.debug
Class SepDebugger
java.lang.Object
com.fluxtion.builder.debug.SepDebugger
public class SepDebugger
extends java.lang.Object
Experimental feature - do not use
- Author:
- Greg Higgins
-
Field Summary
Fields Modifier and Type Field Description java.util.Map<java.lang.String,NodeStatistic>node2Statistics -
Constructor Summary
Constructors Constructor Description SepDebugger()SepDebugger(SepInvocationListener invocationListener) -
Method Summary
Modifier and Type Method Description voidaddSepInvocationListener(SepInvocationListener l)voideventInvocation(com.fluxtion.api.event.Event event)com.fluxtion.api.event.EventgetCurrentEvent()voidnodeInvocation(java.lang.Object node, java.lang.String name)intnodeInvocationCount()voidpermitStep()called by the debug controller to allow next step to happen.The stepper will be blocked on the requestStep call until the permitStep function is called.voidremoveSepInvocationListener(SepInvocationListener l)voidrequestStep()called by the stepper to request permission for the next step to happen.The stepper will be blocked on the requestStep call until the permitStep function is called.voidresetDebugger()removes all internal state from the SepDebugger.voidresetStatistics()resets the statistics for another run, but does not remove the node mappingsvoidstatisticRecordingOn(boolean statisticsOn)voidsteppingOn(boolean steppingOn)
-
Field Details
-
Constructor Details
-
SepDebugger
-
SepDebugger
public SepDebugger()
-
-
Method Details
-
nodeInvocationCount
public int nodeInvocationCount() -
resetStatistics
public void resetStatistics()resets the statistics for another run, but does not remove the node mappings -
steppingOn
public void steppingOn(boolean steppingOn) -
statisticRecordingOn
public void statisticRecordingOn(boolean statisticsOn) -
permitStep
public void permitStep()called by the debug controller to allow next step to happen.The stepper will be blocked on the requestStep call until the permitStep function is called. -
requestStep
public void requestStep() throws java.lang.InterruptedExceptioncalled by the stepper to request permission for the next step to happen.The stepper will be blocked on the requestStep call until the permitStep function is called.- Throws:
java.lang.InterruptedException
-
resetDebugger
public void resetDebugger()removes all internal state from the SepDebugger. -
nodeInvocation
public void nodeInvocation(java.lang.Object node, java.lang.String name) -
addSepInvocationListener
-
removeSepInvocationListener
-
eventInvocation
public void eventInvocation(com.fluxtion.api.event.Event event) -
getCurrentEvent
public com.fluxtion.api.event.Event getCurrentEvent()
-