org.eclipse.m2m.atl.engine.emfvm.launch.debug
Class NetworkDebugger

java.lang.Object
  extended by org.eclipse.m2m.atl.engine.emfvm.launch.debug.NetworkDebugger
All Implemented Interfaces:
ITool

public class NetworkDebugger
extends java.lang.Object
implements ITool

The main ATL debugger.


Nested Class Summary
protected  class NetworkDebugger.Command
          A debugger command.
 
Constructor Summary
NetworkDebugger(int port, boolean suspend)
          NetworkDebugger constructor.
 
Method Summary
 void enter(AbstractStackFrame frame)
          Enters the frame.
 void error(AbstractStackFrame stackFrame, java.lang.String msg, java.lang.Exception e)
          Throws an error.
 ExecEnv getExecEnv()
           
 AbstractStackFrame getLastFrame()
           
 void leave(AbstractStackFrame frame)
          Leaves the frame.
 void step(AbstractStackFrame frame)
          Steps into the frame.
 void terminated()
          Terminates the execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkDebugger

public NetworkDebugger(int port,
                       boolean suspend)
NetworkDebugger constructor.

Parameters:
port - connection port
suspend - setp parameter
Method Detail

getExecEnv

public ExecEnv getExecEnv()

getLastFrame

public AbstractStackFrame getLastFrame()

enter

public void enter(AbstractStackFrame frame)
Enters the frame.

Specified by:
enter in interface ITool
Parameters:
frame - the frame to enter in
See Also:
ITool.enter(org.eclipse.m2m.atl.engine.emfvm.lib.AbstractStackFrame)

leave

public void leave(AbstractStackFrame frame)
Leaves the frame.

Specified by:
leave in interface ITool
Parameters:
frame - the frame to leave
See Also:
ITool.leave(org.eclipse.m2m.atl.engine.emfvm.lib.AbstractStackFrame)

step

public void step(AbstractStackFrame frame)
Steps into the frame.

Specified by:
step in interface ITool
Parameters:
frame - the frame to step
See Also:
ITool.step(org.eclipse.m2m.atl.engine.emfvm.lib.AbstractStackFrame)

terminated

public void terminated()
Terminates the execution.

Specified by:
terminated in interface ITool
See Also:
ITool.terminated()

error

public void error(AbstractStackFrame stackFrame,
                  java.lang.String msg,
                  java.lang.Exception e)
Throws an error.

Specified by:
error in interface ITool
Parameters:
stackFrame - the current frame
msg - the error message
e - the exception
See Also:
ITool.error(org.eclipse.m2m.atl.engine.emfvm.lib.AbstractStackFrame, java.lang.String, java.lang.Exception)

Copyright 2007 IBM Corporation and others.
All Rights Reserved.