diff -r 4ae9c4447947 -r d9e8fb47340f ProjectController.py --- a/ProjectController.py Thu Apr 19 13:09:41 2018 +0200 +++ b/ProjectController.py Thu Apr 19 14:53:42 2018 +0200 @@ -37,7 +37,7 @@ import re import tempfile from types import ListType -from threading import Timer, Lock, Thread +from threading import Timer from datetime import datetime from weakref import WeakKeyDictionary from itertools import izip @@ -1439,7 +1439,6 @@ values_buffer.append((value, forced)) self.DebugTicks.append(debug_tick) - buffers, self.DebugValuesBuffers = (self.DebugValuesBuffers, [list() for dummy in xrange(len(self.TracedIECPath))]) @@ -1556,26 +1555,22 @@ if IECPath not in self.IECdebug_datas: return - # If no entry exist, create a new one with a fresh WeakKeyDictionary IECdebug_data = self.IECdebug_datas.get(IECPath, None) IECdebug_data[2] = "Forced" IECdebug_data[3] = fvalue - self.ReArmDebugRegisterTimer() def ReleaseDebugIECVariable(self, IECPath): if IECPath not in self.IECdebug_datas: return - # If no entry exist, create a new one with a fresh WeakKeyDictionary IECdebug_data = self.IECdebug_datas.get(IECPath, None) IECdebug_data[2] = "Registered" IECdebug_data[3] = None - self.ReArmDebugRegisterTimer() def CallWeakcallables(self, IECPath, function_name, *cargs): @@ -1599,7 +1594,6 @@ return -1, "No runtime connected!" return self._connector.RemoteExec(script, **kwargs) - def DispatchDebugValuesProc(self, event): debug_ticks, buffers = self.SnapshotAndResetDebugValuesBuffers() start_time = time.time()