diff -r 2fb33905ff6b -r e4f3948920a6 eric6/Debugger/DebugUI.py --- a/eric6/Debugger/DebugUI.py Sun Feb 02 13:01:55 2020 +0100 +++ b/eric6/Debugger/DebugUI.py Sun Feb 02 14:55:11 2020 +0100 @@ -1397,7 +1397,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: