class Twib::Interfaces::ITwibDeviceInterface

Main interface exposed by a device.

Public Instance Methods

open_active_debugger(pid) click to toggle source

Opens an active debugger for the process with the given PID. @param pid [Integer] Process ID @return [ITwibDebugger] Debugger interface

# File lib/twib/interfaces/ITwibDeviceInterface.rb, line 26
def open_active_debugger(pid)
  ITwibDebugger.new(@connection, @device_id, send(Command::OPEN_ACTIVE_DEBUGGER, [pid].pack("Q<")).wait_ok.object_ids[0])
end