Sha256: 1a8a8d460665a3d966af41cdb17a15c2b65a017cd8d515f0c342b6795faed6f4

Contents?: true

Size: 623 Bytes

Versions: 1

Compression:

Stored size: 623 Bytes

Contents

require "twib/interface.rb"

require "twib/interfaces/ITwibDebugger.rb"

module Twib
  module Interfaces
    class ITwibDeviceInterface < Interface
      module Command
        RUN = 10
        REBOOT = 11
        COREDUMP = 12
        TERMINATE = 13
        LIST_PROCESSES = 14
        UPGRADE_TWILI = 15
        IDENTIFY = 16
        LIST_NAMED_PIPES = 17
        OPEN_NAMED_PIPE = 18
        OPEN_ACTIVE_DEBUGGER = 19
      end
      def open_active_debugger(pid)
        ITwibDebugger.new(@connection, @device_id, send(Command::OPEN_ACTIVE_DEBUGGER, [pid].pack("Q<")).wait_ok.object_ids[0])
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
twib-0.1.0 lib/twib/interfaces/ITwibDeviceInterface.rb