plugger.py
changeset 460 73a53278833b
parent 459 af7350d24ab5
child 461 bcbc472c0ba8
equal deleted inserted replaced
459:af7350d24ab5 460:73a53278833b
  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