4 class OperatingSystemPlugIn(object):
5 """Class that provides data for an instance of a LLDB 'OperatingSystemPython' plug-in class
6 This version stops once with threads 0x111 and 0x222, then stops a second time with threads
9 def __init__(self, process):
10 '''Initialization needs a valid.SBProcess object.
12 This plug-in will get created after a live process is valid and has stopped for the first time.
18 if isinstance(process, lldb.SBProcess) and process.IsValid():
19 self.process = process
20 self.threads = None # Will be an dictionary containing info for each thread
23 return self.process.target
25 def get_thread_info(self):
26 self.times_called += 1
28 if self.times_called == 1:
34 'stop_reason': 'none',
41 'stop_reason': 'none',
50 'stop_reason': 'none',
57 'stop_reason': 'none',