code: def get_breakpoints(self):
          
          breakpoints = []
          block = self.editor.document().firstBlock()
          for line_number in range(1, self.editor.document().blockCount()+1):
              data = block.userData()
              if data and data.breakpoint:
                  breakpoints.append((line_number, data.breakpoint_condition))
              block = block.next()
          return breakpoints
docs: Get breakpoints