4 class OperatingSystemPlugIn(object):
5 """Class that provides data for an instance of a LLDB 'OperatingSystemPython' plug-in class"""
7 def __init__(self, process):
8 '''Initialization needs a valid.SBProcess object.
10 This plug-in will get created after a live process is valid and has stopped for the first time.
15 if isinstance(process, lldb.SBProcess) and process.IsValid():
16 self.process = process
17 self.threads = None # Will be an dictionary containing info for each thread
20 return self.process.target
22 def get_thread_info(self):
41 'stop_reason': 'sigstop',