DebugClients/Python3/DebugClientBase.py

changeset 3591
2f2a4a76dd22
parent 3160
209a07d7e401
child 3621
15f23ed3f216
equal deleted inserted replaced
3590:5280e37405b8 3591:2f2a4a76dd22
274 if self.debugging: 274 if self.debugging:
275 sys.setprofile(self.profile) 275 sys.setprofile(self.profile)
276 276
277 def __dumpThreadList(self): 277 def __dumpThreadList(self):
278 """ 278 """
279 Public method to send the list of threads. 279 Private method to send the list of threads.
280 """ 280 """
281 threadList = [] 281 threadList = []
282 if self.threads and self.currentThread: 282 if self.threads and self.currentThread:
283 # indication for the threaded debugger 283 # indication for the threaded debugger
284 currentId = self.currentThread.get_ident() 284 currentId = self.currentThread.get_ident()
2169 self.sessionClose(0) 2169 self.sessionClose(0)
2170 return pid 2170 return pid
2171 2171
2172 def close(self, fd): 2172 def close(self, fd):
2173 """ 2173 """
2174 Private method implementing a close method as a replacement for 2174 Public method implementing a close method as a replacement for
2175 os.close(). 2175 os.close().
2176 2176
2177 It prevents the debugger connections from being closed. 2177 It prevents the debugger connections from being closed.
2178 2178
2179 @param fd file descriptor to be closed (integer) 2179 @param fd file descriptor to be closed (integer)

eric ide

mercurial