Class: Twib::Interfaces::ITwibDeviceInterface
- Inherits:
-
Twib::Interface
- Object
- Twib::Interface
- Twib::Interfaces::ITwibDeviceInterface
- Defined in:
- lib/twib/interfaces/ITwibDeviceInterface.rb
Overview
Main interface exposed by a device.
Defined Under Namespace
Modules: Command
Instance Method Summary collapse
-
#open_active_debugger(pid) ⇒ ITwibDebugger
Opens an active debugger for the process with the given PID.
Methods inherited from Twib::Interface
Constructor Details
This class inherits a constructor from Twib::Interface
Instance Method Details
#open_active_debugger(pid) ⇒ ITwibDebugger
Opens an active debugger for the process with the given PID.
26 27 28 |
# 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 |