--- a/ProjectController.py Wed Nov 13 23:25:26 2013 +0100
+++ b/ProjectController.py Wed Nov 20 09:38:13 2013 +0100
@@ -1374,7 +1374,8 @@
#print [dict.keys() for IECPath, (dict, log, status, fvalue) in self.IECdebug_datas.items()]
if plc_status == "Started":
self.IECdebug_lock.acquire()
- if (len(debug_vars) == len(self.DebugValuesBuffers) and
+ if (debug_tick is not None and
+ len(debug_vars) == len(self.DebugValuesBuffers) and
len(debug_vars) == len(self.TracedIECPath)):
if debug_getvar_retry > DEBUG_RETRIES_WARN:
self.logger.write(_("... debugger recovered\n"))