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 TypeMethodDescriptionvoid
enter
(StackFrame frame) Enters the stack frame.void
error
(StackFrame stackFrame, String msg, Exception e) Throws an error.Returns theExecEnv
, if available.Returns the last stack frame, if available.void
leave
(StackFrame frame) Leaves the stack frame.void
step
(StackFrame frame) Steps into the stack frame.void
Invoked 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:
enter
in interfaceVMMonitor
- Overrides:
enter
in classLaunchAdapter
- Parameters:
frame
- the frame to enter in- See Also:
-
leave
Leaves the stack frame.- Specified by:
leave
in interfaceVMMonitor
- Overrides:
leave
in classLaunchAdapter
- Parameters:
frame
- the frame to leave- See Also:
-
step
Steps into the stack frame.- Specified by:
step
in interfaceVMMonitor
- Overrides:
step
in classLaunchAdapter
- Parameters:
frame
- the frame to step- See Also:
-
terminated
public void terminated()Invoked when execution is terminated.- Specified by:
terminated
in interfaceVMMonitor
- Overrides:
terminated
in classLaunchAdapter
- See Also:
-
error
Throws an error.- Specified by:
error
in interfaceVMMonitor
- Overrides:
error
in 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
-