DebugClients/Python3/DebugClientBase.py

changeset 126
7902c9178ee0
parent 107
918a6be6f051
child 406
eacf81fad150
child 693
ca35ffad8958
equal deleted inserted replaced
125:064cfadcf15c 126:7902c9178ee0
263 def __dumpThreadList(self): 263 def __dumpThreadList(self):
264 """ 264 """
265 Public method to send the list of threads. 265 Public method to send the list of threads.
266 """ 266 """
267 threadList = [] 267 threadList = []
268 if self.threads: # indication for the threaded debugger 268 if self.threads and self.currentThread: # indication for the threaded debugger
269 currentId = self.currentThread.get_ident() 269 currentId = self.currentThread.get_ident()
270 for t in self.threads.values(): 270 for t in self.threads.values():
271 d = {} 271 d = {}
272 d["id"] = t.get_ident() 272 d["id"] = t.get_ident()
273 d["name"] = t.get_name() 273 d["name"] = t.get_name()

eric ide

mercurial