Reapplies all the received breakpoints as they were received by the API (so, new translations are applied).
(self, py_db)
| 633 | return result |
| 634 | |
| 635 | def reapply_breakpoints(self, py_db): |
| 636 | """ |
| 637 | Reapplies all the received breakpoints as they were received by the API (so, new |
| 638 | translations are applied). |
| 639 | """ |
| 640 | pydev_log.debug("Reapplying breakpoints.") |
| 641 | values = list(py_db.api_received_breakpoints.values()) # Create a copy with items to reapply. |
| 642 | self.remove_all_breakpoints(py_db, "*") |
| 643 | for val in values: |
| 644 | _new_filename, api_add_breakpoint_params = val |
| 645 | self.add_breakpoint(py_db, *api_add_breakpoint_params) |
| 646 | |
| 647 | def remove_all_breakpoints(self, py_db, received_filename): |
| 648 | """ |
no test coverage detected