lib/twib/interfaces/ITwibDebugger.rb in twib-0.1.1 vs lib/twib/interfaces/ITwibDebugger.rb in twib-0.1.2
- old
+ new
@@ -70,12 +70,12 @@
end
return Switch::Debug::Event::Event.unpack(rs.payload)
end
# Gets a thread's context.
- # @return [self]
+ # @return [String]
def get_thread_context(thread_id)
- raise "nyi"
+ send(Command::GET_THREAD_CONTEXT, [thread_id].pack("Q<")).wait_ok.payload
end
# Breaks the target process.
# @return [self]
def break_process