|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.mwe.internal.core.debug.processing.handlers.VariablesRuntimeHandler
public class VariablesRuntimeHandler
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.
Field Summary |
---|
Fields inherited from interface org.eclipse.emf.mwe.core.debug.processing.EventHandler |
---|
END_FRAME, NORMAL_FRAME |
Constructor Summary | |
---|---|
VariablesRuntimeHandler()
|
Method Summary | |
---|---|
void |
init(DebugMonitor monitor,
Connection connection)
initiate the instantiated handler. |
void |
postTask(java.lang.Object context)
pop the peek element from the stack |
void |
preTask(java.lang.Object element,
java.lang.Object context,
int state)
push the syntax element onto the stack |
void |
resumed()
no contribution here |
void |
run()
|
void |
started()
no contribution here |
void |
startListener()
start the listening process in an extra thread, if required |
void |
suspended()
no contribution here |
void |
terminated()
no contribution here |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VariablesRuntimeHandler()
Method Detail |
---|
public void init(DebugMonitor monitor, Connection connection)
RuntimeHandler
DebugMonitor
and Connection
instances that may be needed for the handler to do it's workDebugMonitor
dependent on the type of handler.
init
in interface RuntimeHandler
monitor
- the DebugMonitorconnection
- the connection to the debugger frameworkpublic void startListener()
RuntimeHandler
startListener
in interface RuntimeHandler
public void run()
run
in interface java.lang.Runnable
public void preTask(java.lang.Object element, java.lang.Object context, int state)
preTask
in interface EventHandler
org.eclipse.emf.mwe.internal.core.debug.processing.EventHandler#preTask(java.lang.Object, int)
public void postTask(java.lang.Object context)
postTask
in interface EventHandler
org.eclipse.emf.mwe.internal.core.debug.processing.EventHandler#postTask()
public void resumed()
resumed
in interface EventHandler
org.eclipse.emf.mwe.internal.core.debug.processing.EventHandler#resumed()
public void suspended()
suspended
in interface EventHandler
org.eclipse.emf.mwe.internal.core.debug.processing.EventHandler#resumed()
public void started()
started
in interface EventHandler
org.eclipse.emf.mwe.internal.core.debug.processing.EventHandler#resumed()
public void terminated()
terminated
in interface EventHandler
org.eclipse.emf.mwe.internal.core.debug.processing.EventHandler#resumed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |