eric6/Debugger/DebugUI.py

branch
multi_processing
changeset 7389
770ffcb88be5
parent 7379
72a72fd56494
child 7392
b6674724612a
--- a/eric6/Debugger/DebugUI.py	Sun Feb 02 12:01:27 2020 +0100
+++ b/eric6/Debugger/DebugUI.py	Sun Feb 02 16:41:40 2020 +0100
@@ -1366,12 +1366,16 @@
             elif scope == 0:
                 self.debugViewer.showVariable(variables, False)
             
-    def __clientBreakConditionError(self, filename, lineno):
+    def __clientBreakConditionError(self, filename, lineno, debuggerId):
         """
         Private method to handle a condition error of a breakpoint.
         
-        @param filename filename of the breakpoint (string)
-        @param lineno linenumber of the breakpoint (integer)
+        @param filename filename of the breakpoint
+        @type str
+        @param lineno line umber of the breakpoint
+        @type int
+        @param debuggerId ID of the debugger backend
+        @type str
         """
         E5MessageBox.critical(
             self.ui,
@@ -1401,13 +1405,16 @@
             model.setBreakPointByIndex(index, fn, line,
                                        (cond, temp, enabled, count))
         
-    def __clientWatchConditionError(self, cond):
+    def __clientWatchConditionError(self, cond, debuggerId):
         """
         Private method to handle a expression error of a watch expression.
         
         Note: This can only happen for normal watch expressions
         
-        @param cond expression of the watch expression (string)
+        @param cond expression of the watch expression
+        @type str
+        @param debuggerId ID of the debugger backend
+        @type str
         """
         E5MessageBox.critical(
             self.ui,
@@ -1434,7 +1441,7 @@
             cond, temp, enabled, count, special = dlg.getData()
             
             # check for duplicates
-            idx = self.__model.getWatchPointIndex(cond, special)
+            idx = model.getWatchPointIndex(cond, special)
             duplicate = (idx.isValid() and
                          idx.internalPointer() != index.internalPointer())
             if duplicate:

eric ide

mercurial