code: def _set_spyder_breakpoints(self, breakpoints):
          
          if not self._pdb_obj:
              return
  
          # Breakpoints come serialized from Spyder. We send them
          # in a list of one element to be able to send them at all
          # in Python 2
          serialized_breakpoints = breakpoints[0]
          breakpoints = pickle.loads(serialized_breakpoints)
  
          self._pdb_obj.set_spyder_breakpoints(breakpoints)
docs: Set all Spyder breakpoints in an active pdb session