code: def pdb_has_stopped(self, fname, lineno, shellwidget):
          
          # This is a unique form of the edit_goto signal that is intended to
          # prevent keyboard input from accidentally entering the editor
          # during repeated, rapid entry of debugging commands.
          self.edit_goto[str, int, str, bool].emit(fname, lineno, '', False)
          self.activateWindow()
          shellwidget._control.setFocus()
docs: Python debugger has just stopped at frame (fname, lineno)