equal
deleted
inserted
replaced
1706 wx.CallAfter(self.logger.write_warning, |
1706 wx.CallAfter(self.logger.write_warning, |
1707 _("Debug data do not match requested variable count %d != %d\n")%(len(debug_vars), len(self.TracedIECPath))) |
1707 _("Debug data do not match requested variable count %d != %d\n")%(len(debug_vars), len(self.TracedIECPath))) |
1708 else: |
1708 else: |
1709 if plc_status == "Started": |
1709 if plc_status == "Started": |
1710 # Be patient, tollerate PLC to come up before debugging |
1710 # Be patient, tollerate PLC to come up before debugging |
1711 time.sleep(0.01) |
1711 time.sleep(0.1) |
1712 else: |
1712 else: |
1713 wx.CallAfter(self.logger.write, _("Debugger disabled\n")) |
1713 wx.CallAfter(self.logger.write, _("Debugger disabled\n")) |
1714 self.debug_break = True |
1714 self.debug_break = True |
1715 self.IECdebug_lock.release() |
1715 self.IECdebug_lock.release() |
1716 |
1716 |