Package org.eclipse.m2m.atl.emftvm.util
Interface VMMonitor
- All Known Implementing Classes:
LaunchAdapter
,NetworkDebugger
,Profiler
,ProfilingLaunchAdapter
public interface VMMonitor
Allows monitoring and controlling a running EMFTVM instance.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
enter
(StackFrame frame) Enters the stack frame.void
error
(StackFrame frame, String msg, Exception e) Throws an error.boolean
Returnstrue
when the running EMFTVM instance should be terminated.void
leave
(StackFrame frame) Leaves the stack frame.void
step
(StackFrame frame) Steps into the stack frame.void
Invoked when execution is terminated.
-
Method Details
-
isTerminated
boolean isTerminated()Returnstrue
when the running EMFTVM instance should be terminated.- Returns:
true
when the running EMFTVM instance should be terminated
-
enter
Enters the stack frame.- Parameters:
frame
- the frame to enter in
-
leave
Leaves the stack frame.- Parameters:
frame
- the frame to leave
-
step
Steps into the stack frame.- Parameters:
frame
- the frame to step
-
terminated
void terminated()Invoked when execution is terminated. -
error
Throws an error.- Parameters:
frame
- the current framemsg
- the error messagee
- the exception
-