323 else: |
323 else: |
324 currentId = -1 |
324 currentId = -1 |
325 d = {} |
325 d = {} |
326 d["id"] = -1 |
326 d["id"] = -1 |
327 d["name"] = "MainThread" |
327 d["name"] = "MainThread" |
328 d["broken"] = self.isBroken() |
328 if hasattr(self, "isBroken"): |
|
329 d["broken"] = self.isBroken() |
|
330 else: |
|
331 d["broken"] = False |
329 threadList.append(d) |
332 threadList.append(d) |
330 |
333 |
331 self.write('%s%s\n' % (DebugProtocol.ResponseThreadList, |
334 self.write('%s%s\n' % (DebugProtocol.ResponseThreadList, |
332 unicode((currentId, threadList)))) |
335 unicode((currentId, threadList)))) |
333 |
336 |