eric6/Debugger/DebugViewer.py

branch
multi_processing
changeset 7882
617cc27f11af
parent 7881
6c09c023cda5
child 7883
dd208a886048
--- a/eric6/Debugger/DebugViewer.py	Thu Dec 17 13:54:47 2020 +0100
+++ b/eric6/Debugger/DebugViewer.py	Thu Dec 17 14:20:51 2020 +0100
@@ -55,8 +55,10 @@
         """
         Constructor
         
-        @param debugServer reference to the debug server object (DebugServer)
-        @param parent parent widget (QWidget)
+        @param debugServer reference to the debug server object
+        @type DebugServer
+        @param parent parent widget
+        @type QWidget
         """
         super(DebugViewer, self).__init__(parent)
         
@@ -322,7 +324,8 @@
         """
         Public method to set a reference to the Debug UI.
         
-        @param debugUI reference to the DebugUI object (DebugUI)
+        @param debugUI reference to the DebugUI object
+        @type DebugUI
         """
         self.debugUI = debugUI
         self.callStackViewer.setDebugger(debugUI)
@@ -336,7 +339,7 @@
     
     def handleResetUI(self):
         """
-        Public method to reset the SBVviewer.
+        Public method to reset the viewer.
         """
         self.globalsViewer.handleResetUI()
         self.localsViewer.handleResetUI()
@@ -355,7 +358,8 @@
         """
         Public method to initialize the call stack viewer.
         
-        @param projectMode flag indicating to enable the project mode (boolean)
+        @param projectMode flag indicating to enable the project mode
+        @type bool
         """
         self.callStackViewer.clear()
         self.callStackViewer.setProjectMode(projectMode)
@@ -364,7 +368,8 @@
         """
         Public method to get the state of the call trace function.
         
-        @return flag indicating the state of the call trace function (boolean)
+        @return flag indicating the state of the call trace function
+        @rtype bool
         """
         return self.callTraceViewer.isCallTraceEnabled()
         
@@ -381,7 +386,8 @@
         In project mode the call trace info is shown with project relative
         path names.
         
-        @param enabled flag indicating to enable the project mode (boolean)
+        @param enabled flag indicating to enable the project mode
+        @type bool
         """
         self.callTraceViewer.setProjectMode(enabled)
         
@@ -390,7 +396,9 @@
         Public method to show the variables in the respective window.
         
         @param vlist list of variables to display
+        @type list
         @param showGlobals flag indicating global/local state
+        @type bool
         """
         if showGlobals:
             self.globalsViewer.showVariables(vlist, self.framenr)
@@ -402,7 +410,9 @@
         Public method to show the variables in the respective window.
         
         @param vlist list of variables to display
+        @type list
         @param showGlobals flag indicating global/local state
+        @type bool
         """
         if showGlobals:
             self.globalsViewer.showVariable(vlist)
@@ -414,6 +424,7 @@
         Public method to make a variables tab visible.
         
         @param showGlobals flag indicating global/local state
+        @type bool
         """
         if showGlobals:
             self.__tabWidget.setCurrentWidget(self.glvWidget)
@@ -546,7 +557,8 @@
         """
         Private slot to handle the selection of a new stack frame number.
         
-        @param frmnr frame number (0 is the current frame) (int)
+        @param frmnr frame number (0 is the current frame)
+        @type int
         """
         if frmnr >= 0:
             self.framenr = frmnr
@@ -598,7 +610,8 @@
         """
         Public method to get a reference to the current widget.
         
-        @return reference to the current widget (QWidget)
+        @return reference to the current widget
+        @rtype QWidget
         """
         return self.__tabWidget.currentWidget()
         
@@ -606,7 +619,8 @@
         """
         Public slot to set the current page based on the given widget.
         
-        @param widget reference to the widget (QWidget)
+        @param widget reference to the widget
+        @type QWidget
         """
         self.__tabWidget.setCurrentWidget(widget)
         
@@ -678,9 +692,10 @@
         """
         Private slot to handle the selection of a thread in the thread list.
         
-        @param current reference to the new current item (QTreeWidgetItem)
+        @param current reference to the new current item
+        @type QTreeWidgetItem
         @param previous reference to the previous current item
-            (QTreeWidgetItem)
+        @type QTreeWidgetItem
         """
         if current is not None and self.__doThreadListUpdate:
             tid = current.data(0, self.ThreadIdRole)
@@ -691,7 +706,8 @@
         Private slot to handle the selection of a call stack entry of the
         call stack viewer.
         
-        @param frameNo frame number (index) of the selected entry (integer)
+        @param frameNo frame number (index) of the selected entry
+        @type int
         """
         if frameNo >= 0:
             self.stackComboBox.setCurrentIndex(frameNo)

eric ide

mercurial