diff --git a/Lib/bdb.py b/Lib/bdb.py index 08dce8f2f9f..9f5e7ae630d 100644 --- a/Lib/bdb.py +++ b/Lib/bdb.py @@ -214,7 +214,7 @@ class Bdb: def set_continue(self): # Don't stop except at breakpoints or when finished self._set_stopinfo(self.botframe, None, -1) - if not self.breaks and not self.watching: + if not self.breaks: # no breakpoints; run without debugger overhead sys.settrace(None) frame = sys._getframe().f_back