docs: def backup_breakpoints_state(cls):
          """ Returns the state of all breakpoints in a list that can be used
          later to restore all breakpoints state"""
          all_breakpoints_state = []
          for bp in cls.breakpoints_by_number:
              if bp: 
                  all_breakpoints_state.append((bp.number, 
                                                bp.enabled, 
                                                bp.condition,))
          return all_breakpoints_state