DebugClients/Python/DebugClientBase.py

changeset 126
7902c9178ee0
parent 107
918a6be6f051
child 790
2c0ea0163ef4
child 792
a13346916170
equal deleted inserted replaced
125:064cfadcf15c 126:7902c9178ee0
295 def __dumpThreadList(self): 295 def __dumpThreadList(self):
296 """ 296 """
297 Public method to send the list of threads. 297 Public method to send the list of threads.
298 """ 298 """
299 threadList = [] 299 threadList = []
300 if self.threads: # indication for the threaded debugger 300 if self.threads and self.currentThread: # indication for the threaded debugger
301 currentId = self.currentThread.get_ident() 301 currentId = self.currentThread.get_ident()
302 for t in self.threads.values(): 302 for t in self.threads.values():
303 d = {} 303 d = {}
304 d["id"] = t.get_ident() 304 d["id"] = t.get_ident()
305 d["name"] = t.get_name() 305 d["name"] = t.get_name()

eric ide

mercurial