Class ADWPDebugger

  • All Implemented Interfaces:
    java.lang.Runnable

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

      • ADWPDebugger

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

      • sendCommand

        public void sendCommand​(int cmd,
                                java.util.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,
                                          java.util.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,
                             java.util.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 java.lang.Runnable
        Overrides:
        run in class ADWP
        See Also:
        ADWP.run()