305 if self.debugging: |
305 if self.debugging: |
306 sys.setprofile(self.profile) |
306 sys.setprofile(self.profile) |
307 |
307 |
308 def __dumpThreadList(self): |
308 def __dumpThreadList(self): |
309 """ |
309 """ |
310 Public method to send the list of threads. |
310 Private method to send the list of threads. |
311 """ |
311 """ |
312 threadList = [] |
312 threadList = [] |
313 if self.threads and self.currentThread: |
313 if self.threads and self.currentThread: |
314 # indication for the threaded debugger |
314 # indication for the threaded debugger |
315 currentId = self.currentThread.get_ident() |
315 currentId = self.currentThread.get_ident() |
2110 self.sessionClose(0) |
2110 self.sessionClose(0) |
2111 return pid |
2111 return pid |
2112 |
2112 |
2113 def close(self, fd): |
2113 def close(self, fd): |
2114 """ |
2114 """ |
2115 Private method implementing a close method as a replacement for |
2115 Public method implementing a close method as a replacement for |
2116 os.close(). |
2116 os.close(). |
2117 |
2117 |
2118 It prevents the debugger connections from being closed. |
2118 It prevents the debugger connections from being closed. |
2119 |
2119 |
2120 @param fd file descriptor to be closed (integer) |
2120 @param fd file descriptor to be closed (integer) |