--- a/DebugClients/Python3/DebugClientThreads.py Sun Oct 06 17:27:53 2013 +0200 +++ b/DebugClients/Python3/DebugClientThreads.py Sun Oct 06 18:02:21 2013 +0200 @@ -35,7 +35,8 @@ @return The identifier of the created thread """ if DebugClientBase.DebugClientInstance is not None: - return DebugClientBase.DebugClientInstance.attachThread(target, args, kwargs) + return DebugClientBase.DebugClientInstance.attachThread( + target, args, kwargs) else: return _original_start_thread(target, args, kwargs) @@ -66,7 +67,8 @@ # protection lock for synchronization self.clientLock = RLock() - # the "current" thread, basically the thread we are at a breakpoint for. + # the "current" thread, basically the thread we are at a breakpoint + # for. self.currentThread = None # special objects representing the main scripts thread and frame @@ -75,14 +77,16 @@ self.variant = 'Threaded' - def attachThread(self, target=None, args=None, kwargs=None, mainThread=False): + def attachThread(self, target=None, args=None, kwargs=None, + mainThread=False): """ Public method to setup a thread for DebugClient to debug. If mainThread is non-zero, then we are attaching to the already started mainthread of the app and the rest of the args are ignored. - @param target the start function of the target thread (i.e. the user code) + @param target the start function of the target thread (i.e. the + user code) @param args arguments to pass to target @param kwargs keyword arguments to pass to target @param mainThread True, if we are attaching to the already