243 def attachThread(self, target=None, args=None, kwargs=None, |
243 def attachThread(self, target=None, args=None, kwargs=None, |
244 mainThread=False): |
244 mainThread=False): |
245 """ |
245 """ |
246 Public method to setup a thread for DebugClient to debug. |
246 Public method to setup a thread for DebugClient to debug. |
247 |
247 |
248 If mainThread is non-zero, then we are attaching to the already |
248 If mainThread is True, then we are attaching to the already |
249 started mainthread of the app and the rest of the args are ignored. |
249 started mainthread of the app and the rest of the args are ignored. |
250 |
250 |
251 @param target the start function of the target thread (i.e. the |
251 @param target the start function of the target thread (i.e. the |
252 user code) |
252 user code) |
253 @param args arguments to pass to target |
253 @param args arguments to pass to target |