Class ADWPDebugger

java.lang.Object
java.lang.Thread
org.eclipse.m2m.atl.debug.core.adwp.ADWP
org.eclipse.m2m.atl.debug.core.adwp.ADWPDebugger
All Implemented Interfaces:
Runnable

public class ADWPDebugger extends ADWP
The ADWP debugger.
  • Constructor Details

    • ADWPDebugger

      public ADWPDebugger(InputStream in, OutputStream out)
      Creates a debugger using the given streams.
      Parameters:
      in - the input stream
      out - the output stream
  • Method Details

    • sendCommand

      public void sendCommand(int cmd, List<Value> args)
      Sends a command with the given arguments.
      Parameters:
      cmd - the command
      args - the arguments
    • readMessage

      public ADWPCommand readMessage()
      Reads a message.
      Returns:
      the message
    • requestMessage

      public ADWPCommand requestMessage(int cmd, List<Value> args)
      Sends a message request to the debuggee.
      Parameters:
      cmd - the command
      args - the arguments
      Returns:
      the return Value
    • request

      public Value request(int cmd, List<Value> args)
      Sends a request to the debuggee.
      Parameters:
      cmd - the command
      args - the arguments
      Returns:
      the return Value
    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class ADWP
      See Also:
    • readObjectReference

      protected ObjectReference readObjectReference(int id)
      Reads an object reference.
      Specified by:
      readObjectReference in class ADWP
      Parameters:
      id - the object id
      Returns:
      the ObjectReference
      See Also: