Class NetworkDebugger
java.lang.Object
org.eclipse.m2m.atl.emftvm.launcher.LaunchAdapter
org.eclipse.m2m.atl.emftvm.launcher.debug.NetworkDebugger
- All Implemented Interfaces:
VMMonitor
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionNetworkDebugger(org.eclipse.debug.core.ILaunch launch, int port, boolean suspend) Creates a newNetworkDebugger. -
Method Summary
Modifier and TypeMethodDescriptionvoidenter(StackFrame frame) Enters the stack frame.voiderror(StackFrame stackFrame, String msg, Exception e) Throws an error.Returns theExecEnv, if available.Returns the last stack frame, if available.voidleave(StackFrame frame) Leaves the stack frame.voidstep(StackFrame frame) Steps into the stack frame.voidInvoked when execution is terminated.toString()Methods inherited from class org.eclipse.m2m.atl.emftvm.launcher.LaunchAdapter
getLaunch, isTerminated, setTerminated
-
Constructor Details
-
NetworkDebugger
public NetworkDebugger(org.eclipse.debug.core.ILaunch launch, int port, boolean suspend) Creates a newNetworkDebugger.- Parameters:
launch- the launch object to wrapport- the network port to listen tosuspend- whether to start suspended
-
-
Method Details
-
enter
Enters the stack frame.- Specified by:
enterin interfaceVMMonitor- Overrides:
enterin classLaunchAdapter- Parameters:
frame- the frame to enter in- See Also:
-
leave
Leaves the stack frame.- Specified by:
leavein interfaceVMMonitor- Overrides:
leavein classLaunchAdapter- Parameters:
frame- the frame to leave- See Also:
-
step
Steps into the stack frame.- Specified by:
stepin interfaceVMMonitor- Overrides:
stepin classLaunchAdapter- Parameters:
frame- the frame to step- See Also:
-
terminated
public void terminated()Invoked when execution is terminated.- Specified by:
terminatedin interfaceVMMonitor- Overrides:
terminatedin classLaunchAdapter- See Also:
-
error
Throws an error.- Specified by:
errorin interfaceVMMonitor- Overrides:
errorin classLaunchAdapter- Parameters:
stackFrame- the current framemsg- the error messagee- the exception- See Also:
-
getLastFrame
Returns the last stack frame, if available.- Returns:
- the lastFrame, or
null
-
getExecEnv
Returns theExecEnv, if available.- Returns:
- the
ExecEnv, ornull
-
toString
-