eric6/Debugger/DebugViewer.py

changeset 7928
a78ce4578fed
parent 7923
91e843545d9a
child 7931
a761160bfde9
--- a/eric6/Debugger/DebugViewer.py	Wed Dec 30 13:45:26 2020 +0100
+++ b/eric6/Debugger/DebugViewer.py	Wed Dec 30 15:06:28 2020 +0100
@@ -333,9 +333,12 @@
         self.debugUI.debuggingStarted.connect(
             self.handleDebuggingStarted)
     
-    def handleResetUI(self):
+    def handleResetUI(self, fullReset):
         """
         Public method to reset the viewer.
+        
+        @param fullReset flag indicating a full reset is required
+        @type bool
         """
         self.globalsViewer.handleResetUI()
         self.localsViewer.handleResetUI()
@@ -346,7 +349,8 @@
         self.stackComboBox.clear()
         self.__tabWidget.setCurrentWidget(self.glvWidget)
         self.breakpointViewer.handleResetUI()
-        self.__debuggersList.clear()
+        if fullReset:
+            self.__debuggersList.clear()
         self.disassemblyViewer.clear()
         
     def initCallStackViewer(self, projectMode):

eric ide

mercurial