Adding support for not closing debug tabs and remove variable in variable debug panel if instance still exist in newly transfered program
--- a/LPCBeremiz.py Mon Feb 27 16:51:43 2012 +0100
+++ b/LPCBeremiz.py Mon Mar 05 12:02:20 2012 +0100
@@ -872,11 +872,11 @@
data = builder.GetBinaryCode()
if data is not None :
if self._connector.NewPLC(builder.GetBinaryCodeMD5(), data, []):
- if self.AppFrame is not None:
- self.AppFrame.CloseDebugTabs()
- self.AppFrame.RefreshInstancesTree()
self.UnsubscribeAllDebugIECVariable()
self.ProgramTransferred()
+ if self.AppFrame is not None:
+ self.AppFrame.RefreshInstancesTree()
+ self.AppFrame.CloseObsoleteDebugTabs()
self.logger.write(_("Transfer completed successfully.\n"))
else:
self.logger.write_error(_("Transfer failed\n"))