# HG changeset patch # User lbessard # Date 1220885977 -7200 # Node ID 11d5e2cb6faaf3daf949f71983049c68efa35c87 # Parent 549c413cefcec112767474a856d610752aa25d0d Bug on debug step without output fixed diff -r 549c413cefce -r 11d5e2cb6faa Viewer.py --- a/Viewer.py Mon Sep 08 16:56:48 2008 +0200 +++ b/Viewer.py Mon Sep 08 16:59:37 2008 +0200 @@ -480,10 +480,10 @@ self.HighlightedElement = None def Flush(self): + for element, iec_path in self.Subscribed.iteritems(): + self.Controler.UnsubscribeDebugIECVariable(iec_path, element) for block in self.Blocks: block.Flush() - for element, iec_path in self.Subscribed.iteritems(): - self.Controler.UnsubscribeDebugIECVariable(iec_path, element) # Remove all elements def CleanView(self):