Fixed a bug in the debug viewer causing some items being shown multiple times. 5_3_x

Mon, 17 Jun 2013 19:33:10 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 17 Jun 2013 19:33:10 +0200
branch
5_3_x
changeset 2724
68d67e0f9773
parent 2719
06c04ad630b5
child 2729
4ecb86d32f25

Fixed a bug in the debug viewer causing some items being shown multiple times.
(grafted from f6ad272bf486fb656187f70cae79cd61f06c985e)

Debugger/DebugViewer.py file | annotate | diff | comparison | revisions
diff -r 06c04ad630b5 -r 68d67e0f9773 Debugger/DebugViewer.py
--- a/Debugger/DebugViewer.py	Sat Jun 15 15:57:36 2013 +0200
+++ b/Debugger/DebugViewer.py	Mon Jun 17 19:33:10 2013 +0200
@@ -365,6 +365,7 @@
         """
         Public slot to show the call stack of the program being debugged.
         """
+        block = self.stackComboBox.blockSignals(True)
         self.framenr = 0
         self.stackComboBox.clear()
         self.currentStack = stack
@@ -373,6 +374,7 @@
             # just show base filename to make it readable
             s = (os.path.basename(s[0]), s[1], s[2])
             self.stackComboBox.addItem('{0}:{1}:{2}'.format(*s))
+        self.stackComboBox.blockSignals(block)
         
     def setVariablesFilter(self, globalsFilter, localsFilter):
         """

eric ide

mercurial