diff -r 72202235e0bb -r 478b4ce023dd src/eric7/Debugger/WatchPointModel.py --- a/src/eric7/Debugger/WatchPointModel.py Sat Nov 09 17:09:09 2024 +0100 +++ b/src/eric7/Debugger/WatchPointModel.py Sat Nov 09 17:23:04 2024 +0100 @@ -248,7 +248,10 @@ @type list of (str, str, bool, bool, int) """ # eliminate redundant break points - newWatchpoints = [w for w in set(watchpoints) if w not in self.watchpoints] + newWatchpoints = [] + for watchpoint in watchpoints: + if watchpoint not in self.watchpoints and watchpoint not in newWatchpoints: + newWatchpoints.append(watchpoint) if newWatchpoints: cnt = len(self.watchpoints)