Class VariablesRuntimeHandler
java.lang.Object
org.eclipse.emf.mwe.internal.core.debug.processing.handlers.VariablesRuntimeHandler
- All Implemented Interfaces:
Runnable
,EventHandler
,RuntimeHandler
public class VariablesRuntimeHandler
extends Object
implements RuntimeHandler, EventHandler, Runnable
This class handles the communication of variable names and values with the debug server.
It caches variable values with it's id and handles also cleanup of this cache if values are no longer used.
It caches variable values with it's id and handles also cleanup of this cache if values are no longer used.
-
Field Summary
Fields inherited from interface org.eclipse.emf.mwe.core.debug.processing.EventHandler
END_FRAME, NORMAL_FRAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(DebugMonitor monitor, Connection connection) initiate the instantiated handler.void
pop the peek element from the stackvoid
push the syntax element onto the stackvoid
resumed()
no contribution herevoid
run()
void
started()
no contribution herevoid
start the listening process in an extra thread, if requiredvoid
no contribution herevoid
no contribution here
-
Constructor Details
-
VariablesRuntimeHandler
public VariablesRuntimeHandler()
-
-
Method Details
-
init
Description copied from interface:RuntimeHandler
initiate the instantiated handler. It gets theDebugMonitor
andConnection
instances that may be needed for the handler to do it's work
the handler may be registered at theDebugMonitor
dependent on the type of handler.- Specified by:
init
in interfaceRuntimeHandler
- Parameters:
monitor
- the DebugMonitorconnection
- the connection to the debugger framework
-
startListener
public void startListener()Description copied from interface:RuntimeHandler
start the listening process in an extra thread, if required- Specified by:
startListener
in interfaceRuntimeHandler
-
run
public void run() -
preTask
push the syntax element onto the stack- Specified by:
preTask
in interfaceEventHandler
- See Also:
-
postTask
pop the peek element from the stack- Specified by:
postTask
in interfaceEventHandler
- See Also:
-
resumed
public void resumed()no contribution here- Specified by:
resumed
in interfaceEventHandler
- See Also:
-
suspended
public void suspended()no contribution here- Specified by:
suspended
in interfaceEventHandler
- See Also:
-
started
public void started()no contribution here- Specified by:
started
in interfaceEventHandler
- See Also:
-
terminated
public void terminated()no contribution here- Specified by:
terminated
in interfaceEventHandler
- See Also:
-